blob: 18a80dd3992ffbed1e7183df5f800fe2e3377664 [file] [log] [blame]
<html>
Test passes if it does not crash.
<div id="test1" style="width: 12px; position: relative">
<span>
<div id="test2">
<p style="float: left"></p>
</div>
</span>
<div id="test3">
<span>
<p>A A</p>
</span>
</div>
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.body.offsetTop;
test3.style.position = 'absolute';
test2.style.position = 'absolute';
document.body.offsetTop;
test1.style.height = '1';
test2.style.display = 'none';
</script>
</html>