4 table { border-collapse: collapse; }
5 td { background: silver; width:
100px; height:
100px; }
7 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
8 <script type=
"text/javascript">
11 for (i
= 1; i
< 4; i
++)
12 document
.getElementById("t" + i
).style
.borderColor
= "green";
16 <body onload=
"runRepaintTest()">
18 Repaint test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=11359">http://bugs.webkit.org/show_bug.cgi?id=
11359</a>
19 Incomplete repaint of table cell's collapsed border when changing only the cell
</i>.
24 <td style=
"border-bottom: 4px solid white; border-top: 10px solid white;"></td>
25 <td id=
"t1" style=
"border-left: 10px solid red; border-right: 10px solid red;"></td>
26 <td style=
"border-bottom: 6px solid white; border-top: 10px solid white;"></td>
29 <td style=
"border-left: 10px solid white; border-right: 4px solid white;"></td>
35 <td id=
"t2" style=
"border-top: 10px solid red; border-bottom: 10px solid red;"></td>
37 <td id=
"t3" style=
"border: 10px solid red;"></td>
41 <td style=
"border-left: 10px solid white; border-right: 6px solid white;"></td>