tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

table-anonymous-objects-010.xht (1473B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4   <title>CSS Test: Auto-imported from Gecko test 203923-1.html</title>
      5   <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu"/>
      6   <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
      7   <link rel="match" href="reference/no_red_antialiasing_a_bc_d-ref.xht"/>
      8   <meta name="flags" content='dom'/>
      9 
     10   <script type="text/javascript"><![CDATA[
     11     function doTest() {
     12       var c = document.createElement("span");
     13       c.style.display = "table-cell";
     14       c.appendChild(document.createTextNode("bc"));
     15       var t = document.getElementById("t");
     16       t.parentNode.insertBefore(c, t);
     17       document.documentElement.className = "";
     18     }
     19   ]]></script>
     20 </head>
     21 <body onload="doTest()">
     22 <p>There should be no red below, except for antialiasing issues.</p>
     23 <div style="position: relative; font-size: 2em;">
     24 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;">
     25 
     26   <span style="display: block">
     27     <span style="display: table-cell">a</span>
     28     <span style="display: table-cell; white-space: pre"> </span>
     29     <span style="display: table-cell; white-space: pre" id="t"> </span>
     30     <span style="display: table-cell">d</span>
     31 </span></div>
     32 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
     33 
     34     a bc d
     35   </div>
     36 </div>
     37 </body>
     38 </html>