1 <!-- Based on fast/repaint/padding-border-keeping-border-box-and-content-box.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV id='target'",
8 function paintInvalidationTest()
10 // Though neither border box nor content box changes, should full repaint
11 // because the border width changes.
12 var target
= document
.getElementById('target');
13 target
.style
.padding
= '20px';
14 target
.style
.borderWidth
= '20px';
16 window
.onload
= runPaintInvalidationTest
;
27 background-color: green;
33 <div id=
"target"></div>