Backed out changeset 39e6a7e77cfb (bug 1927808) for causing multiple failures. CLOSED...
[gecko.git] / layout / reftests / table-anonymous-boxes / white-space-25.html
blob1364d109f180204d6e2649c36c43fbb02f25e849
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <title>CSS 2.1 Test Suite: anonymous table boxes</title>
5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
8 <meta name="flags" content="dom" />
9 <script>
10 function doTest() {
11 var t = document.getElementById("t");
12 var parent = t.parentNode;
13 parent.insertBefore(document.createTextNode(" "), t);
14 parent.insertBefore(document.createTextNode("bc"), t);
15 parent.insertBefore(document.createTextNode(" "), t);
16 document.documentElement.className = "";
18 </script>
19 </head>
20 <body onload="doTest()">
21 <span style="display:table-row; white-space: pre"><span style="display: table-cell">a</span><span id="t" style="display: table-cell">d</span></span>
22 </body>
23 </html>