1 <!-- Based on fast/box-shadow/negative-shadow-box-expand.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV id='outer'",
7 "LayoutBlockFlow DIV id='inner2'",
9 function paintInvalidationTest()
11 document
.getElementById('inner2').style
.display
= 'block';
14 <body style=
"margin: 100px" onload=
"runPaintInvalidationTest()">
15 <div id=
"outer" style=
"box-shadow: 40px -40px #F00;">
16 <div id=
"inner1" style=
"height: 100px; background-color: blue"></div>
17 <div id=
"inner2" style=
"display: none; height: 100px; background-color: green"></div>