tor-browser

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

table-anonymous-objects-024.xht (1312B)


      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 293576-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   <meta name="flags" content='dom'/>
      8 
      9     <script type="text/javascript"><![CDATA[
     10       function doTest() {
     11         var t = document.getElementById("t");
     12         for (var i = 0; i < 10; ++i) {
     13           document.body.offsetWidth;
     14           t.style.display = "table-caption";
     15           document.body.offsetWidth;
     16           t.style.display = "";
     17         }
     18         document.documentElement.className = '';
     19       }
     20     ]]></script>
     21   </head>
     22 <body onload="doTest()">
     23 <p>There should be no red below, except for antialiasing issues.</p>
     24 <div style="position: relative; font-size: 2em;">
     25 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;">
     26 
     27     <table border="5"><tbody><tr><td id="t">Some text</td></tr></tbody></table>
     28   </div>
     29 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
     30 
     31     <table border="5"><tbody><tr><td>Some text</td></tr></tbody></table>
     32   </div>
     33 </div>
     34 </body>
     35 </html>