Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / body-inline-block-crash.html
blob6c859eb6ec49d961b36edb13674284c5e40cdf4c
1 <html>
2 Test passes if it does not crash.
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function crash() {
8 body1 = document.createElement("body");
9 i1 = document.createElement("i");
10 document.documentElement.appendChild(i1);
11 i1.appendChild(body1);
12 body1.style.display = "inline-block";
14 document.addEventListener("DOMContentLoaded", crash, false);
15 </script>
16 </html>