| <script src="../../resources/ahem.js"></script> |
| <div style="display: -webkit-box; -webkit-box-orient: vertical;"> |
| <div style="width: 80px; height: 80px; background-color: blue;"> |
| <div id="float" style="float: left; width: 20px; height: 110px; background-color: silver;"></div> |
| </div> |
| <div style="font-family: Ahem; width: 80px; height: 80px; background-color: yellow;">Test overhanging floats</div> |
| </div> |
| <script> |
| document.body.offsetTop; |
| document.getElementById("float").style.display = "none"; |
| </script> |