phantomjs/test/webkit-spec/inline-destroy-dirty-lines-...

15 lines
292 B
HTML

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