LayoutTests:
[WebKit-https.git] / LayoutTests / fast / repaint / table-collapsed-border.html
1 <head>
2     <style type="text/css">
3         table {
4             border-collapse: collapse;
5             border: 8px solid;
6             margin: 10px 0 10px 0;
7         }
8     </style>
9         <script src="repaint.js" type="text/javascript"></script>
10         <script type="text/javascript">
11            function repaintTest()
12            {
13            document.getElementById('t').style.borderColor = 'green';
14            document.getElementById('r').removeChild(document.getElementById('d'));
15            document.getElementById('r2').removeChild(document.getElementById('d2'));
16            document.getElementById('d3').innerHTML = 'ipsum dolor';
17            }
18         </script>
19 </head>
20 <body onload="runRepaintTest();">
21     <table id="t">
22         <tr>
23             <td>
24             </td>
25             <td>Lorem
26             </td>
27         </tr>
28         <tr>
29             <td>
30             </td>
31             <td>ipsum dolor
32             </td>
33         </tr>
34         <tr>
35             <td>
36             </td>
37             <td>sit amet
38             </td>
39         </tr>
40     </table>
41     <table>
42         <tr>
43             <td>
44             </td>
45             <td>Lorem
46             </td>
47         </tr>
48         <tr id="r">
49             <td>&nbsp;
50             </td>
51             <td id="d">ipsum dolor
52             </td>
53         </tr>
54         <tr>
55             <td>
56             </td>
57             <td>sit amet
58             </td>
59         </tr>
60     </table>
61     <table>
62         <tr>
63             <td>
64             </td>
65             <td>Lorem ipsum
66             </td>
67         </tr>
68         <tr id="r2">
69             <td>&nbsp;
70             </td>
71             <td id="d2">dolor
72             </td>
73         </tr>
74         <tr>
75             <td>
76             </td>
77             <td>sit amet
78             </td>
79         </tr>
80     </table>
81     <table>
82         <tr>
83             <td>
84             </td>
85             <td>Lorem
86             </td>
87         </tr>
88         <tr>
89             <td>&nbsp;
90             </td>
91             <td id="d3">
92             </td>
93         </tr>
94         <tr>
95             <td>
96             </td>
97             <td>sit amet
98             </td>
99         </tr>
100     </table>
101 </body>