Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / merge-anonymous-block-remove-child-crash.html
blobf4fdfbbd032f39084c2843e5045724badedfd406
1 <html>
2 <body onload="runTest();">
3 <span style="display: run-in" id="runIn">
4 </span>
5 <span style="display: list-item" id="listItem">
6 </span>
7 <div id="result"></div>
8 <script>
9 if (window.testRunner)
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
15 function runTest()
17 document.body.offsetTop;
18 var runIn = document.getElementById('runIn');
19 var listItem = document.getElementById('listItem');
21 runIn.appendChild(document.createElement('menu'));
23 ol = document.createElement('ol');
24 listItem.appendChild(ol);
25 listItem.appendChild(document.createElement('i'));
27 document.body.offsetTop;
28 listItem.removeChild(ol);
29 document.body.removeChild(runIn);
30 document.body.removeChild(listItem);
32 document.getElementById('result').innerHTML = "PASS";
33 if (window.testRunner)
34 testRunner.notifyDone();
36 </script>
37 </body>
38 </html>