Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / block-not-removed-from-parent-lineboxes-crash.html
blobe27b289ee0b302fd292c5e6178dceb6fad4566d4
1 <html>
2 <body>
3 <div style="width: 25px">
4 <img style="width: 20px"><img id="test1" style="width: 50px; display: none;"><span id="test2" style="float: left;">AB</span>CD</div>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 document.body.offsetTop;
10 test1.style.display = "";
11 document.body.offsetTop;
12 test2.parentNode.removeChild(test2);
14 document.body.offsetTop;
15 document.body.innerHTML = "PASS: does not crash";
16 </script>
17 </body>
18 </html>