summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/492661-1.html
blob: c22de45142256b27a5b322fd3a3db8bcf4734099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function boom()
{
  var tbody = document.getElementById("tbody");
  var table = tbody.parentNode;
  table.removeChild(tbody);
  document.documentElement.offsetHeight;
  table.appendChild(tbody);
}
</script>
</head>

<body onload="boom();">

<table>
<col>
<col style="visibility: collapse;"><col>
<tbody id="tbody">
  <tr>
    <td>one</td>
    <td>two</td>
  </tr>
  <tr>
    <td>one</td>
    <td>two</td>
  </tr>
</tbody>
</table>

</body>
</html>