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

51 lines
657 B
HTML

<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
deleteRowAt(0, 0);
deleteRowAt(2, 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>
<tr>
<td>c21</td><td>c22</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c21</td><td>c22</td>
</tr>
</table>
<BR>
The 2 tables should look the same
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
<tr>
<td>c21</td><td>c22</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td>
</tr>
</table>
</BODY></HTML>