4 <title>Reparenting in the presence of malformed content
</title>
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
12 var p
= document
.getElementsByTagName('p')[0];
13 p
.parentNode
.removeChild(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>.