diff options
Diffstat (limited to 'layout/reftests/table-anonymous-boxes/white-space-1.html')
-rw-r--r-- | layout/reftests/table-anonymous-boxes/white-space-1.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/table-anonymous-boxes/white-space-1.html b/layout/reftests/table-anonymous-boxes/white-space-1.html new file mode 100644 index 0000000000..2a0d232b94 --- /dev/null +++ b/layout/reftests/table-anonymous-boxes/white-space-1.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>CSS 2.1 Test Suite: anonymous table boxes</title> + <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> + <meta name="flags" content="dom" /> + <script> + function doTest() { + var n = document.getElementById("t").nextSibling; + n.data = "Row 22, Col 1Row 22, Col 2Row 22, Col 3"; + document.documentElement.className = ""; + } + </script> + </head> + <body style="font-family: monospace; white-space: nowrap" onload="doTest()"> + <span style="display: table-cell">Row 1, Col 1</span> + <span style="display: table-cell">Row 1, Col 2</span> + <span style="display: table-cell" id="t">Row 1, Col 3</span> + <span style="display: table-cell">Row 333, Col 1</span> + <span style="display: table-cell">Row 333, Col 2</span> + <span style="display: table-cell">Row 333, Col 3</span> + </body> +</html> |