summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/appendRowsExpand1.html
blob: ae712596afe5d88ff90fd39375d2fa9726b00cd9 (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
<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>

function doIt() {
  var tbody = document.getElementsByTagName("TBODY")[0];
  var row = document.createElement("TR", null);
  appendCell(row, 1, 1);
  appendCell(row, 1, 1);
  tbody.appendChild(row);
  row = document.createElement("TR", null);
  appendCell(row, 1, 1);
  appendCell(row, 1, 1);
  tbody.appendChild(row);
}
</SCRIPT>  
</HEAD>
<BODY onload="doIt()">
<table bgcolor=orange border>
 <tr>
  <td>c11</td><td>c12</td>
 </tr>
</table>
</BODY></HTML>