OLD | NEW |
1 <!-- Based on fast/repaint/table-section-overflow.html --> | 1 <!-- Based on fast/repaint/table-section-overflow.html --> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> | 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</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 "LayoutBlockFlow DIV id='spacer'", | |
9 "LayoutTable TABLE", | |
10 "LayoutTableSection TBODY", | |
11 "LayoutTableRow TR", | |
12 "LayoutTableCell TD", | |
13 "LayoutBlockFlow DIV", | |
14 "LayoutBlockFlow DIV", | |
15 ]; | |
16 function paintInvalidationTest() | 7 function paintInvalidationTest() |
17 { | 8 { |
18 document.getElementById("spacer").style.height = "50px"; | 9 document.getElementById("spacer").style.height = "50px"; |
19 } | 10 } |
20 </script> | 11 </script> |
21 </head> | 12 </head> |
22 <body onload="runPaintInvalidationTest()"> | 13 <body onload="runPaintInvalidationTest()"> |
23 <div id="spacer" style="width: 0;"></div> | 14 <div id="spacer" style="width: 0;"></div> |
24 <table cellpadding="0" cellspacing="0" style="margin-left: 50px;"> | 15 <table cellpadding="0" cellspacing="0" style="margin-left: 50px;"> |
25 <tr> | 16 <tr> |
26 <td> | 17 <td> |
27 <div style="width: 50px;"> | 18 <div style="width: 50px;"> |
28 <div style="background-color: green; width: 100px; height: 1
00px; margin-left: -25px;"></div> | 19 <div style="background-color: green; width: 100px; height: 1
00px; margin-left: -25px;"></div> |
29 </div> | 20 </div> |
30 </td> | 21 </td> |
31 </tr> | 22 </tr> |
32 </table> | 23 </table> |
33 </body> | 24 </body> |
34 </html> | 25 </html> |
OLD | NEW |