OLD | NEW |
1 <!-- Based on fast/repaint/subtree-root-clip.html --> | 1 <!-- Based on fast/repaint/subtree-root-clip.html --> |
2 <!DOCTYPE HTML> | 2 <!DOCTYPE HTML> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="resources/paint-invalidation-test.js"></script> | 5 <script src="resources/paint-invalidation-test.js"></script> |
6 <script> | 6 <script> |
7 window.expectedPaintInvalidationObjects = [ | |
8 "LayoutBlockFlow (floating) DIV", | |
9 "LayoutBlockFlow DIV id='inner'", | |
10 ]; | |
11 function paintInvalidationTest() | 7 function paintInvalidationTest() |
12 { | 8 { |
13 document.getElementById("inner").style.width = "0"; | 9 document.getElementById("inner").style.width = "0"; |
14 } | 10 } |
15 </script> | 11 </script> |
16 </head> | 12 </head> |
17 <body onload="runPaintInvalidationTest()"> | 13 <body onload="runPaintInvalidationTest()"> |
18 <div style="float: left; overflow: hidden; width: 100px; height: 100px; backgrou
nd-color: green;"> | 14 <div style="float: left; overflow: hidden; width: 100px; height: 100px; backgrou
nd-color: green;"> |
19 <div id="inner" style="width: 100px; height: 100px; background-color: red;">
</div> | 15 <div id="inner" style="width: 100px; height: 100px; background-color: red;">
</div> |
20 </div> | 16 </div> |
21 </body> | 17 </body> |
22 </html> | 18 </html> |
OLD | NEW |