summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/371925-1b.html
blob: 8db15e968be7cfda0c51dec8531bb76819373a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<body>

<table id="theTable" border="1">
  <thead id="thead">
    <tr><th>Header</th></tr>
  </thead>
  <tfoot id="tfoot"><tr><th>Footer</th></tr></tfoot>
  <tbody><tr><td id="body">BODY</td></tr></tbody>
</table>

<script>
var style = document.getElementById('tfoot').style;
style.display = "none";
document.body.offsetWidth;
style.display = "table-footer-group";
document.body.offsetWidth;
style.display = "none";
</script>

</body>
</html>