Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / float-not-removed-from-next-sibling-crash.html
blobf028b927c48f1471ec9bf735cd1952be5837c596
1 <html>
2 <body onload="runTest()">
3 Test passes if it does not crash.
4 <div style="width: 15px;">
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function runTest()
11 document.body.offsetTop;
12 var container = document.getElementById('panel');
13 container.style.position = 'relative';
14 document.getElementById('test1').style.position = 'absolute';
15 document.getElementById('test2').style.position = 'absolute';
16 document.body.offsetTop;
18 container.style.height = '1px';
19 document.getElementById('test1').style.display = 'none';
21 </script>
22 <div id="panel">
23 <div id="test1">
24 <img style="float: left" height="1px">
25 </div>
26 <div id="test2">
27 <a><p>P A S S</p>
28 </div>
29 </div>
30 </div>
31 </body>
32 </html>