haikuwebkit/LayoutTests/fast/inline/inline-destroy-dirty-lines-...

20 lines
355 B
HTML

<html>
<body onload="runTest()">
Test passes it it does not crash.
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest()
{
document.body.offsetTop;
child = document.getElementById('test');
child.parentNode.removeChild(child);
}
</script>
<br>
<span id="test"></span>
</body>
</html>