summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html
blob: 9bc9ae8b79991e8469179d78d689a38a5d059698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<body>
<table bgcolor="orange" border="1">
<tr>
  <td>c11</td><td>c12</td><td>c13</td><td>c14</td>
</tr>
 <tr>
  <td id="c21">c21</td><td colspan="0">X1</td>
 </tr>
</table>

<script>
document.body.offsetWidth;
c21 = document.getElementById("c21");
c21.parentNode.removeChild(c21);
</script>

</body>
</html>