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