RetroZilla/layout/html/tests/table/dom/insertCellsRebuild2.html
2015-10-20 23:03:22 -04:00

45 lines
602 B
HTML

<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
insertCellAt(1, 1, 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><td>c12</td>
</tr>
<tr>
<td>c21</td><td rowspan=2>c22</td><td>c22</td>
</tr>
<tr>
<td>c31</td><td>c32</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>c12</td>
</tr>
<tr>
<td>c21</td><td>X1</td><td rowspan=2>c22</td><td>c22</td>
</tr>
<tr>
<td>c31</td><td>c32</td>
</tr>
</table>
</BODY></HTML>