Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / remove-block-in-residual-style.html
blobcf4606c03449240d96005972cf56a3cae14b45c7
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Reparenting in the presence of malformed content</title>
5 </head>
6 <body>
7 <font>
8 <p>
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
12 var p = document.getElementsByTagName('p')[0];
13 p.parentNode.removeChild(p);
14 </script>
15 </font>
16 </p>
17 PASS - this test checks that removing a block element while it's in an imporperly closed inline doesn't crash. This is checking for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=6778">bug 6778</a>.
18 </body>
19 </html>