OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/box-shadow/negative-shadow-box-shrink.html --> |
| 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <script> |
| 5 window.expectedPaintInvalidationObjects = [ |
| 6 "LayoutBlockFlow DIV id='inner2'", |
| 7 "LayoutBlockFlow DIV id='outer'", |
| 8 ]; |
| 9 function paintInvalidationTest() |
| 10 { |
| 11 document.getElementById('inner2').style.display = 'none'; |
| 12 } |
| 13 </script> |
| 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="height: 100px; background-color: green"></div> |
| 18 </div> |
| 19 </body> |
OLD | NEW |