summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/302113-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/table-anonymous-boxes/302113-1.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/layout/reftests/table-anonymous-boxes/302113-1.html b/layout/reftests/table-anonymous-boxes/302113-1.html
new file mode 100644
index 0000000000..a8ca72abe6
--- /dev/null
+++ b/layout/reftests/table-anonymous-boxes/302113-1.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script type="text/javascript">
+ function doTest() {
+ var t = document.getElementById("t");
+ for (var i = 0; i < 5; ++i) {
+ document.body.offsetWidth;
+ t.style.display = "none";
+ document.body.offsetWidth;
+ t.style.display = "block";
+ }
+ document.documentElement.className = "";
+ }
+</script>
+</head>
+<body onload="doTest()">
+ <span style="display: table">
+ <span style="display: table-row">
+ <span style="display: table-cell">
+ Cell
+ </span>
+ <span style="display: table-cell">
+ Cell
+ </span>
+ <span style="display: table-cell">
+ Cell
+ </span>
+ <span style="display: table-cell">
+ Cell
+ </span>
+ <span style="display: table-cell">
+ Cell
+ </span>
+ </span>
+ <span style="display: table-row">
+ <span style="display: block" id="t">Which column?</span>
+ </span>
+ </span>
+</body>
+</html>