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

54 lines
763 B
HTML

<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
deleteTbodyAt(0, 0);
}
</SCRIPT>
</HEAD>
<BODY onload="doIt()">
It should never be the case that deleting a tbody causes a rebuild
of the cell map since cells cannot span out of tbodies. However, this is a bug.
<BR><BR>
The 2 tables should look the same
<table bgcolor=orange border>
<tbody>
<tr>
<td>c11</td><td>c12</td>
</tr>
<tr>
<td rowspan=2>c21</td><td>c22</td>
</tr>
</tbody>
<tbody>
<tr>
<td>c31</td><td>c32</td>
</tr>
<tr>
<td>c41</td><td>c42</td>
</tr>
</tbody>
</table>
<BR>
<table bgcolor=orange border>
<tbody>
<tr>
<td>c31</td><td>c32</td>
</tr>
<tr>
<td>c41</td><td>c42</td>
</tr>
</tbody>
</table>
<BR>
</BODY></HTML>