gecko/layout/html/tests/table/dom/appendCells1.html

47 lines
644 B
HTML

<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
appendCellAt(0, 1, 1);
appendCellAt(2, 1, 1);
appendCellAt(2, 1, 1);
}
</SCRIPT>
</HEAD>
<BODY onload="doIt()">
The 2 tables should look the same
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>X1</td>
</tr>
</table>
<BR>
The 2 tables should look the same
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>X2</td><td>X3</td>
</tr>
</table>
</BODY></HTML>