| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/repaint-table-row-in-composited-document.html --> | |
| 2 <!DOCTYPE html> | |
| 3 <html> | |
| 4 <head> | |
| 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> | |
| 6 <style> | |
| 7 td { | |
| 8 width: 200px; | |
| 9 height: 100px; | |
| 10 } | |
| 11 body { | |
| 12 margin: 50px; | |
| 13 } | |
| 14 </style> | |
| 15 <script type="text/javascript"> | |
| 16 function paintInvalidationTest() | |
| 17 { | |
| 18 // The sizes on this test are deliberate to ensure that we don't trigger | |
| 19 // any repaints within the tile the green td starts in, otherwise the | |
| 20 // compositor's repaint algorithm hides the issue visually. The issue will | |
| 21 // still show up in the text results. | |
| 22 var target = document.getElementById('target'); | |
| 23 target.style.height = '250px'; | |
| 24 } | |
| 25 </script> | |
| 26 </head> | |
| 27 <body onload="runPaintInvalidationTest();"> | |
| 28 <table> | |
| 29 <tr> | |
| 30 <td id="target"> | |
| 31 </td> | |
| 32 </tr> | |
| 33 <tr> | |
| 34 <td> | |
| 35 </td> | |
| 36 <td style="border: 1px solid black; background-color: green;"> | |
| 37 </td> | |
| 38 </tr> | |
| 39 </table> | |
| 40 </body> | |
| OLD | NEW |