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