1 <!-- Based on fast/repaint/margin.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV id='target'",
8 function paintInvalidationTest()
10 // Margin change will visually move the content of the div.
11 // Should repaint the old position and the new position.
12 document
.getElementById('target').style
.margin
= '20px';
14 window
.onload
= runPaintInvalidationTest
;
24 background-color: green;
27 <div id=
"target"></div>