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