Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / nestedAnonymousBlocks.html
blobefbeaafe09341ea5230e492718348fa50ed013fb
1 <html>
2 <head>
3 <style type="text/css" media="Screen">
4 #leftColumn, #centreColumn {
5 float: left;
7 </style>
8 </head>
10 <body>
12 <div id="leftColumn">
13 <div>This is a test for rdar://5025925.</div>
14 </div>
16 <div id="centreColumn">
17 <div> The test succeeds if this does not hang or crash.</div>
18 </div>
20 &nbsp;
21 <div></div>
23 <script>
24 var lefty = document.getElementById("leftColumn");
25 var center = document.getElementById("centreColumn");
27 lefty.offsetWidth;
29 lefty.style.display = "none";
30 lefty.style.float = "none";
31 center.style.float = "none";
33 center.offsetWidth;
35 lefty.style.display = "block";
36 lefty.style.float = "left";
37 center.style.float = "left";
38 </script>
40 </body>
41 </html>