| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 table { border-collapse: collapse; } | 4 table { border-collapse: collapse; } |
| 5 td { background: silver; width: 100px; height: 100px; } | 5 td { background: silver; width: 100px; height: 100px; } |
| 6 </style> | 6 </style> |
| 7 <script src="resources/text-based-repaint.js" type="text/javascript"></s
cript> | 7 <script src="resources/text-based-repaint.js" type="text/javascript"></s
cript> |
| 8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
| 9 function repaintTest() | 9 function repaintTest() |
| 10 { | 10 { |
| 11 for (i = 1; i < 4; i++) | 11 for (i = 1; i < 4; i++) |
| 12 document.getElementById("t" + i).style.borderColor = "green"; | 12 document.getElementById("t" + i).style.borderColor = "green"; |
| 13 } | 13 } |
| 14 </script> | 14 </script> |
| 15 </head> | 15 </head> |
| 16 <body onload="runRepaintTest()"> | 16 <body onload="runRepaintAndPixelTest()"> |
| 17 <p> | 17 <p> |
| 18 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1135
9">http://bugs.webkit.org/show_bug.cgi?id=11359</a> | 18 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1135
9">http://bugs.webkit.org/show_bug.cgi?id=11359</a> |
| 19 Incomplete repaint of table cell's collapsed border when changing only t
he cell</i>. | 19 Incomplete repaint of table cell's collapsed border when changing only t
he cell</i>. |
| 20 </p> | 20 </p> |
| 21 <table> | 21 <table> |
| 22 <tr> | 22 <tr> |
| 23 <td></td> | 23 <td></td> |
| 24 <td style="border-bottom: 4px solid white; border-top: 10px solid wh
ite;"></td> | 24 <td style="border-bottom: 4px solid white; border-top: 10px solid wh
ite;"></td> |
| 25 <td id="t1" style="border-left: 10px solid red; border-right: 10px s
olid red;"></td> | 25 <td id="t1" style="border-left: 10px solid red; border-right: 10px s
olid red;"></td> |
| 26 <td style="border-bottom: 6px solid white; border-top: 10px solid wh
ite;"></td> | 26 <td style="border-bottom: 6px solid white; border-top: 10px solid wh
ite;"></td> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 39 </tr> | 39 </tr> |
| 40 <tr> | 40 <tr> |
| 41 <td style="border-left: 10px solid white; border-right: 6px solid wh
ite;"></td> | 41 <td style="border-left: 10px solid white; border-right: 6px solid wh
ite;"></td> |
| 42 <td></td> | 42 <td></td> |
| 43 <td></td> | 43 <td></td> |
| 44 <td></td> | 44 <td></td> |
| 45 </tr> | 45 </tr> |
| 46 </table> | 46 </table> |
| 47 </body> | 47 </body> |
| 48 </html> | 48 </html> |
| OLD | NEW |