2 <script src=
"resources/text-based-repaint.js"></script>
6 // Margin change will visually move the content of the div.
7 // Should repaint the old position and the new position.
8 document
.getElementById('target').style
.margin
= '20px';
10 window
.onload
= runRepaintTest
;
20 background-color: green;
23 <div id=
"target"></div>