blob: 7e2a34f0d184f8085a85e24b636dda7e0b861270 [file] [log] [blame]
<div style="position: relative;">
<div style="width: 100px; height: 100px; background-color: red;"></div>
<div style="visibility: hidden; position: absolute; top: 0;">
<div id="inner" style="width: 100px; height: 100px; background-color: green;"></div>
</div>
</div>
<script>
function test()
{
document.getElementById("inner").style.visibility = "visible";
}
if (window.testRunner) {
document.body.offsetTop;
testRunner.displayAndTrackRepaints();
test();
} else
setTimeout(test, 0);
</script>