summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/371925-1b.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/371925-1b.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/371925-1b.html b/layout/reftests/bugs/371925-1b.html
new file mode 100644
index 0000000000..8db15e968b
--- /dev/null
+++ b/layout/reftests/bugs/371925-1b.html
@@ -0,0 +1,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>