Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / basic / empty-anonymous-block-remove-crash.html
blob75974e6a1495354685a8e9f7f89d1134abdba533
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 function runTest()
12 var button = document.getElementById("test");
13 button.insertBefore(document.createElement("tbody"), null);
14 document.body.offsetTop;
15 document.body.removeChild(button);
17 var result = document.createElement("div");
18 result.innerHTML = "PASS";
19 document.body.appendChild(result);
20 if (window.testRunner)
21 testRunner.notifyDone();
23 </script>
24 </head>
25 <body onload="runTest()">
26 <button id="test"/>
27 </body>
28 </html>