Do not create a shape object outside of the layout context
[WebKit-https.git] / LayoutTests / fast / block / float / br-with-clear.html
1 <div id="target" style="width: 200px; height: 100px; background-color: red;">
2     <div style="width: 100px; background-color: green;">
3         <span style="float: left; width: 10px; height: 100px;">&nbsp;</span>
4         <br style="clear: both;">
5     </div>
6 </div>
7 <script>
8     document.body.offsetTop;
9     document.getElementById("target").style.width = "100px";
10 </script>