summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/203923-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/table-anonymous-boxes/203923-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/table-anonymous-boxes/203923-1.html b/layout/reftests/table-anonymous-boxes/203923-1.html
new file mode 100644
index 0000000000..a7a1e843d1
--- /dev/null
+++ b/layout/reftests/table-anonymous-boxes/203923-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <script type="text/javascript">
+ function doTest() {
+ var c = document.createElement("span");
+ c.style.display = "table-cell";
+ c.appendChild(document.createTextNode("bc"));
+ var t = document.getElementById("t");
+ t.parentNode.insertBefore(c, t);
+ document.documentElement.className = "";
+ }
+ </script>
+</head>
+<body onload="doTest()">
+ <span style="display: block">
+ <span style="display: table-cell">a</span>
+ <span style="display: table-cell; white-space: pre"> </span>
+ <span style="display: table-cell; white-space: pre" id="t"> </span>
+ <span style="display: table-cell">d</span>
+</body>
+</html>