Floating box is misplaced after content change.
[WebKit-https.git] / LayoutTests / fast / block / collapse-anon-block-with-float-siblings-only.html
1 <!DOCTYPE HTML>
2 <head>
3 <title>This tests that floating box is properly positioned after removing sibling block content.</title>
4 <style>
5         .floating {
6         float: left;
7         }
8 </style>
9 </head>
10 <body>
11 <span>wrap</span><div id=removeThis></div><div class="floating">should not&nbsp</div>
12 <script>
13         if (window.testRunner)
14                 testRunner.waitUntilDone();
15         setTimeout(function() { 
16                 var ele = document.getElementById("removeThis"); 
17                 ele.parentNode.removeChild(ele);
18                 if (window.testRunner)
19                         testRunner.notifyDone(); 
20         }, 0);
21 </script>
22 </body>
23 </html>