3 <script src=
"resources/text-based-repaint.js"></script>
7 document
.body
.offsetTop
;
8 var target
= document
.getElementById("target");
9 target
.style
.visibility
= "visible";
10 document
.body
.offsetTop
;
15 function repaintTest()
17 var target
= document
.getElementById("target");
18 target
.style
.left
= "0";
19 target
.style
.backgroundColor
= "green";
23 <body onload=
"test()">
24 <div id=
"target" style=
"position: absolute; top: 0; left: 100px; width: 100px; height: 100px; background-color: red; visibility: hidden;"></div>