1 <!-- Based on fast/repaint/relative-margin-change-repaint.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
16 background-color: green;
22 window
.expectedPaintInvalidationObjects
= [
23 "LayoutBlockFlow BODY",
24 "LayoutBlockFlow (relative positioned) DIV id='container'",
25 "LayoutBlockFlow (relative positioned) DIV id='test'",
27 function paintInvalidationTest()
29 document
.getElementById("test").style
['margin-top'] = '20px';
31 window
.onload
= runPaintInvalidationTest
;
36 <!-- Tests the repainting of relative element when margin-top changes. -->