| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 td { | 5 td { |
| 6 height: 50px; | 6 height: 50px; |
| 7 border: 5px solid grey; | 7 border: 5px solid grey; |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 <script src="resources/text-based-repaint.js" type="text/javascript"></script> | 10 <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
| 11 <script> | 11 <script> |
| 12 function repaintTest() | 12 function repaintTest() |
| 13 { | 13 { |
| 14 var td = document.getElementById("resizeMe"); | 14 var td = document.getElementById("resizeMe"); |
| 15 td.style.height = "0px"; | 15 td.style.height = "0px"; |
| 16 } | 16 } |
| 17 | 17 |
| 18 window.addEventListener("load", runRepaintTest, false); | 18 window.addEventListener("load", runRepaintAndPixelTest, false); |
| 19 </script> | 19 </script> |
| 20 </head> | 20 </head> |
| 21 <body> | 21 <body> |
| 22 <p>This test checks that changing the size of the middle row triggers an invalid
ation for the following rows.</p> | 22 <p>This test checks that changing the size of the middle row triggers an invalid
ation for the following rows.</p> |
| 23 <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 23 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 24 <tr> | 24 <tr> |
| 25 <td>1</td> | 25 <td>1</td> |
| 26 </tr> | 26 </tr> |
| 27 <tr> | 27 <tr> |
| 28 <td id="resizeMe" style="height: 200px"></td> | 28 <td id="resizeMe" style="height: 200px"></td> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 <tr> | 60 <tr> |
| 61 <td>12</td> | 61 <td>12</td> |
| 62 </tr> | 62 </tr> |
| 63 <tr> | 63 <tr> |
| 64 <td>13</td> | 64 <td>13</td> |
| 65 </tr> | 65 </tr> |
| 66 </table> | 66 </table> |
| 67 | 67 |
| 68 </body> | 68 </body> |
| 69 </html> | 69 </html> |
| OLD | NEW |