OLD | NEW |
1 <!-- Based on fast/repaint/table-two-pass-layout-overpaint.html --> | 1 <!-- Based on fast/repaint/table-two-pass-layout-overpaint.html --> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 table { background-color: lightblue; height: 100px; } | 5 table { background-color: lightblue; height: 100px; } |
6 td { width: 100px; height: 50px; } | 6 td { width: 100px; height: 50px; } |
7 div#target { height: 25px; background-color: lightgreen; } | 7 div#target { height: 25px; background-color: lightgreen; } |
8 </style> | 8 </style> |
9 <script src="resources/paint-invalidation-test.js"></script> | 9 <script src="resources/paint-invalidation-test.js"></script> |
10 <script> | 10 <script> |
11 window.expectedPaintInvalidationObjects = [ | |
12 "LayoutBlockFlow DIV id='target'", | |
13 ]; | |
14 function paintInvalidationTest() | 11 function paintInvalidationTest() |
15 { | 12 { |
16 document.getElementById("target").style.width = "50px"; | 13 document.getElementById("target").style.width = "50px"; |
17 } | 14 } |
18 </script> | 15 </script> |
19 </head> | 16 </head> |
20 <body onload="runPaintInvalidationTest()"> | 17 <body onload="runPaintInvalidationTest()"> |
21 <table> | 18 <table> |
22 <tr> | 19 <tr> |
23 <td> | 20 <td> |
24 <div id="target"></div> | 21 <div id="target"></div> |
25 </td> | 22 </td> |
26 </tr> | 23 </tr> |
27 </table> | 24 </table> |
28 </body> | 25 </body> |
29 </html> | 26 </html> |
OLD | NEW |