Do not create a shape object outside of the layout context
[WebKit-https.git] / LayoutTests / fast / block / float / overhanging-tall-block.html
1 <body style="overflow: hidden;">
2     <div><textarea rows="100000000"></textarea></div>
3     <div>
4         <textarea style="display: block; width: 100%" rows="100000000"></textarea>
5         <div id="target" style="display: inline-block; width: 300px; height: 150px; float: left;"></div>
6         <textarea style="display: block;" rows="100000000"></textarea>
7     </div>
8     <div></div>
9     <script>
10         document.body.offsetTop;
11         document.getElementById("target").style.display = "none";
12     </script>
13 </body>