4 <script src="../../resources/run-after-display.js"></script>
5 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
6 <script type="text/javascript">
8 testRunner.waitUntilDone();
10 window.onload = function()
12 window.scrollTo(0, 20);
13 runAfterDisplay(function() {
15 if (window.testRunner)
16 testRunner.notifyDone();
20 function repaintTest()
22 document.getElementById('t').style.background='green';
26 <body style="height:2000px;">
27 <p style="position: relative; top: 20px;">
28 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>
29 REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>.
31 <div id="t" style="position: fixed; width: 100px; height: 100px; background: red"></div>