OLD | NEW |
1 <!-- Based on fast/repaint/table-col-background.html --> | 1 <!-- Based on fast/repaint/table-col-background.html --> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=5821</title> | 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=5821</title> |
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
7 window.expectedPaintInvalidationObjects = [ | |
8 "LayoutTableCell TD", | |
9 "LayoutTableCol COL id='col'", | |
10 ]; | |
11 function paintInvalidationTest() | 7 function paintInvalidationTest() |
12 { | 8 { |
13 document.getElementById("col").style.backgroundColor = "green"; | 9 document.getElementById("col").style.backgroundColor = "green"; |
14 } | 10 } |
15 </script> | 11 </script> |
16 </head> | 12 </head> |
17 <body onload="runPaintInvalidationTest()"> | 13 <body onload="runPaintInvalidationTest()"> |
18 <table> | 14 <table> |
19 <col id="col" style="background-color: red;"> | 15 <col id="col" style="background-color: red;"> |
20 <tr> | 16 <tr> |
21 <td style="width: 100px; height: 100px;"> | 17 <td style="width: 100px; height: 100px;"> |
22 </td> | 18 </td> |
23 </tr> | 19 </tr> |
24 </table> | 20 </table> |
25 </body> | 21 </body> |
26 </html> | 22 </html> |
OLD | NEW |