Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / merge-anonymous-block-remove-child-crash2.html
blob6111a85b8da64d714501c279dd6fbfb0198e8110
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 var layerChild = document.createElement('layer');
22 var noteChild = document.createElement('note');
23 var blockquoteChild = document.createElement('blockquote');
25 runIn.appendChild(layerChild);
26 layerChild.appendChild(noteChild);
27 noteChild.appendChild(blockquoteChild);
29 document.body.offsetTop;
31 document.body.removeChild(listItem);
33 document.getElementById('result').innerHTML = "PASS";
34 if (window.testRunner)
35 testRunner.notifyDone();
37 </script>
38 </body>
39 </html>