summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/deleteTbodyExpand1.html
blob: 09cf75fc3a6679cc52ec292a5f8581d979d2b685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>

function doIt() {
  deleteTbodyAt(0, 0);
  deleteTbodyAt(1, 1);
}
</SCRIPT>  
</HEAD>
<BODY onload="doIt()">
<table bgcolor=orange border>
 <tbody>
  <tr>
   <td>c11</td><td>c12</td>
  </tr>
  <tr>
   <td>c21</td><td>c22</td>
  </tr>
 </tbody>
 <tbody>
  <tr>
   <td>c31</td><td>c32</td>
  </tr>
  <tr>
   <td>c41</td><td>c42</td>
  </tr>
 </tbody>
</table>
<table bgcolor=orange border>
 <tbody>
  <tr>
   <td>c11</td><td>c12</td>
  </tr>
  <tr>
   <td>c21</td><td>c22</td>
  </tr>
 </tbody>
 <tbody>
  <tr>
   <td>c31</td><td>c32</td>
  </tr>
  <tr>
   <td>c41</td><td>c42</td>
  </tr>
 </tbody>
</table>
</BODY></HTML>