1 <!-- Based on fast/box-shadow/shadow-box-resize.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV id='target1'",
7 "LayoutBlockFlow (positioned) DIV id='target2'",
8 "LayoutBlockFlow (positioned) DIV id='target3'",
9 "LayoutBlockFlow (positioned) DIV id='target4'",
11 function paintInvalidationTest()
13 document
.getElementById('target1').style
.width
= '150px';
14 document
.getElementById('target2').style
.width
= '50px';
15 document
.getElementById('target3').style
.height
= '150px';
16 document
.getElementById('target4').style
.height
= '50px';
18 window
.onload
= runPaintInvalidationTest
;
28 background-color: green;
29 box-shadow:
40px
20px black;
48 <div id=
"target1"></div>
49 <div id=
"target2"></div>
50 <div id=
"target3"></div>
51 <div id=
"target4"></div>