| 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> | |
| 8 <script type="text/javascript"> | |
| 9 function repaintTest() | |
| 10 { | |
| 11 for (i = 1; i < 4; i++) | |
| 12 document.getElementById("t" + i).style.borderColor = "green"; | |
| 13 } | |
| 14 </script> | |
| 15 </head> | 7 </head> |
| 16 <body onload="runRepaintTest()"> | 8 <body> |
| 17 <p> | 9 <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> | 10 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>. | 11 Incomplete repaint of table cell's collapsed border when changing only t
he cell</i>. |
| 20 </p> | 12 </p> |
| 21 <table> | 13 <table> |
| 22 <tr> | 14 <tr> |
| 23 <td></td> | 15 <td></td> |
| 24 <td style="border-bottom: 4px solid white; border-top: 10px solid wh
ite;"></td> | 16 <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> | 17 <td id="t1" style="border-left: 10px solid; border-right: 10px solid
; border-color: green"></td> |
| 26 <td style="border-bottom: 6px solid white; border-top: 10px solid wh
ite;"></td> | 18 <td style="border-bottom: 6px solid white; border-top: 10px solid wh
ite;"></td> |
| 27 </tr> | 19 </tr> |
| 28 <tr> | 20 <tr> |
| 29 <td style="border-left: 10px solid white; border-right: 4px solid wh
ite;"></td> | 21 <td style="border-left: 10px solid white; border-right: 4px solid wh
ite;"></td> |
| 30 <td></td> | 22 <td></td> |
| 31 <td></td> | 23 <td></td> |
| 32 <td></td> | 24 <td></td> |
| 33 </tr> | 25 </tr> |
| 34 <tr> | 26 <tr> |
| 35 <td id="t2" style="border-top: 10px solid red; border-bottom: 10px s
olid red;"></td> | 27 <td id="t2" style="border-top: 10px solid; border-bottom: 10px solid
; border-color: green"></td> |
| 36 <td></td> | 28 <td></td> |
| 37 <td id="t3" style="border: 10px solid red;"></td> | 29 <td id="t3" style="border: 10px solid green;"></td> |
| 38 <td></td> | 30 <td></td> |
| 39 </tr> | 31 </tr> |
| 40 <tr> | 32 <tr> |
| 41 <td style="border-left: 10px solid white; border-right: 6px solid wh
ite;"></td> | 33 <td style="border-left: 10px solid white; border-right: 6px solid wh
ite;"></td> |
| 42 <td></td> | 34 <td></td> |
| 43 <td></td> | 35 <td></td> |
| 44 <td></td> | 36 <td></td> |
| 45 </tr> | 37 </tr> |
| 46 </table> | 38 </table> |
| 47 </body> | 39 </body> |
| 48 </html> | 40 </html> |
| OLD | NEW |