layout/reftests/table-anonymous-boxes/203923-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4   <script type="text/javascript">
     5     function doTest() {
     6       var c = document.createElement("span");
     7       c.style.display = "table-cell";
     8       c.appendChild(document.createTextNode("bc"));
     9       var t = document.getElementById("t");
    10       t.parentNode.insertBefore(c, t);
    11       document.documentElement.className = "";
    12     }
    13   </script>
    14 </head>
    15 <body onload="doTest()">
    16   <span style="display: block">
    17     <span style="display: table-cell">a</span>
    18     <span style="display: table-cell; white-space: pre"> </span>
    19     <span style="display: table-cell; white-space: pre" id="t"> </span>
    20     <span style="display: table-cell">d</span>
    21 </body>
    22 </html>

mercurial