OLD | NEW |
1 <!-- Based on fast/repaint/subtree-root-clip-3.html --> | 1 <!-- Based on fast/repaint/subtree-root-clip-3.html --> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/paint-invalidation-test.js"></script> | 4 <script src="resources/paint-invalidation-test.js"></script> |
5 <script> | 5 <script> |
6 window.expectedPaintInvalidationObjects = [ | |
7 "LayoutBlockFlow DIV", | |
8 "LayoutBlockFlow DIV id='target'", | |
9 ]; | |
10 function paintInvalidationTest() | 6 function paintInvalidationTest() |
11 { | 7 { |
12 document.getElementById("target").style.width = "100px"; | 8 document.getElementById("target").style.width = "100px"; |
13 } | 9 } |
14 </script> | 10 </script> |
15 </head> | 11 </head> |
16 <body onload="runPaintInvalidationTest()"> | 12 <body onload="runPaintInvalidationTest()"> |
17 <table> | 13 <table> |
18 <tr> | 14 <tr> |
19 <td style="height: 200px;"></td> | 15 <td style="height: 200px;"></td> |
20 <td> | 16 <td> |
21 <div style="height: 100px; width: 100px; overflow: hidden; backgroun
d-color: red;"> | 17 <div style="height: 100px; width: 100px; overflow: hidden; backgroun
d-color: red;"> |
22 <div id="target" style="height: 100px; width: 0; background-colo
r: green;"></div> | 18 <div id="target" style="height: 100px; width: 0; background-colo
r: green;"></div> |
23 </div> | 19 </div> |
24 </td> | 20 </td> |
25 </tr> | 21 </tr> |
26 </table> | 22 </table> |
27 </body> | 23 </body> |
28 </html> | 24 </html> |
OLD | NEW |