blob: 9ee78cae5d0aa5354d808719ee278847461b15fc [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<title>Reparenting in the presence of malformed content</title>
</head>
<body>
<font>
<p>
<script>
var p = document.getElementsByTagName('p')[0];
p.parentNode.removeChild(p);
</script>
</font>
</p>
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>.
</body>
</html>