blob: e43d79c6a13a19d793e7dfcf6a8d00180f6dc679 [file] [log] [blame]
<p>
Test for <i><a href="rdar://problem/6472150">rdar://problem/6472150</a> repro crash in RenderBlock::rightmostPosition(bool, bool) const at mercotte.fr using menus</i>.
</p>
<p>
The test passes if it does not crash.
</p>
<div>
<div></div><span style="position: relative;"><div id="target" style="display: none;"></div><div id="positioned" style="position: absolute;"></div>
</div>
<script>
function test()
{
document.getElementById("target").style.display = "block";
document.getElementById("positioned").style.display = "none";
}
if (window.testRunner)
testRunner.dumpAsText();
document.body.offsetTop;
test();
</script>