1 <!-- Based on fast/repaint/padding-keeping-content-size.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV id='target1' class='outer'",
7 "LayoutBlockFlow (positioned) DIV id='target2' class='outer'",
8 "LayoutBlockFlow DIV class='inner'",
10 function paintInvalidationTest()
12 // Both targets' visual size expand. Should full repaint.
13 document
.getElementById('target1').style
.padding
= '20px';
14 document
.getElementById('target2').style
.padding
= '20px';
16 window
.onload
= runPaintInvalidationTest
;
26 background-color: green;
34 background-color: yellow;
37 <div id=
"target1" class=
"outer"></div>
38 <div id=
"target2" class=
"outer"><div class=
"inner"></div></div>