3 <script src="../repaint/resources/text-based-repaint.js"></script>
5 <body style="background: url(resources/grid-large.png) no-repeat; background-size: 55px 55px;">
6 <div id="mask" style="position: absolute; top: -100px; left: -100px;
7 background-color: blue; width: 18.33px; height: 18.33px;"></div>
32 function repaintTest()
34 if (currentPos >= pos.length)
37 var mask = document.getElementById("mask");
38 mask.style.top = pos[currentPos][0];
39 mask.style.left = pos[currentPos][1];
42 // Force a style recalc.
43 document.body.offsetWidth;
45 if (window.testRunner)
48 setTimeout("repaintTest();", 1000);
51 onload = runRepaintTest;