blob: 6a7c3757b78a54a2900a91ecf13b55fb4966bacc [file] [log] [blame]
<html>
<head>
<title></title>
<script type="text/javascript">
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
window.scrollTo(0, 20);
document.getElementById('t').style.background='green';
document.body.offsetHeight;
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body style="height:2000px;" onload="setTimeout(runTest, 0);">
<p style="position: relative; top: 20px;">
Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11452">http://bugs.webkit.org/show_bug.cgi?id=11452</a>
REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>.
</p>
<div id="t" style="position: fixed; width: 100px; height: 100px; background: red"></div>
</body>
</html>