RetroZilla/layout/html/tests/table/dom/deleteRowsRebuild1.html

51 lines
687 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<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 rowspan=2>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 rowspan=2>c11</td><td>c12</td>
</tr>
<tr>
<td>c21</td><td>c22</td>
</tr>
</table>
<BR>
<table bgcolor=orange border>
<tr>
<td rowspan=2>c11</td><td>c12</td>
</tr>
</table>
</BODY></HTML>