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