layout/reftests/table-anonymous-boxes/white-space-25.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-anonymous-boxes/white-space-25.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <head>
     1.7 +    <title>CSS 2.1 Test Suite: anonymous table boxes</title>
     1.8 +    <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     1.9 +    <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
    1.10 +    <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
    1.11 +    <meta name="flags" content="dom" />
    1.12 +    <script>
    1.13 +      function doTest() {
    1.14 +        var t = document.getElementById("t");
    1.15 +        var parent = t.parentNode;
    1.16 +        parent.insertBefore(document.createTextNode(" "), t);
    1.17 +        parent.insertBefore(document.createTextNode("bc"), t);
    1.18 +        parent.insertBefore(document.createTextNode(" "), t);
    1.19 +        document.documentElement.className = "";
    1.20 +      }
    1.21 +    </script>
    1.22 +  </head>
    1.23 +  <body onload="doTest()">
    1.24 +    <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>
    1.25 +  </body>
    1.26 +</html>

mercurial