<html>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

window.onload = crash;
function crash()
{
    document.body.offsetTop;

    block1.style.position = 'absolute';
    float1.style.display = 'none';

    document.body.offsetTop;
    block1.innerHTML = "PASS";
}
</script>
<div id="block1">
<span id="float1" style="float: left; margin-bottom: 10000px;">
</div>
<junk>
<html>
