bzbarsky%mit.edu e6cba3a6a4 Fix bug 371925 -- we need to allow for the case when the prev sibling is at
index 0.  r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@221108 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 22:42:20 +00:00

24 lines
466 B
HTML

<!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>