tor-browser

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

empty-cells-applies-to-011.xht (1664B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Empty-cells and 'display: table-row' elements</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#propdef-empty-cells" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#empty-cells" />
      8         <link rel="match" href="../reference/no-red-on-blank-page-ref.xht"/>
      9         <meta name="assert" content="Empty-cells does not apply to 'display: table-row' elements." />
     10         <style type="text/css">
     11             #table
     12             {
     13                 display: table;
     14             }
     15             .tr
     16             {
     17                 display: table-row;
     18             }
     19             .td
     20             {
     21                 color: white;
     22                 display: table-cell;
     23             }
     24             #test
     25             {
     26                 background: red;
     27                 border: 5px solid red;
     28                 display: table-row;
     29                 empty-cells: hide;
     30                 height: 1em;
     31                 width: 1em;
     32             }
     33         </style>
     34     </head>
     35     <body>
     36         <p>Test passes if there is no red visible on the page.</p>
     37         <div id="table">
     38             <div class="tr">
     39                 <div id="test"></div>
     40                 <div class="td">XXXXX</div>
     41             </div>
     42             <div class="tr">
     43                 <div class="td">XXXXX</div>
     44                 <div class="td">XXXXX</div>
     45             </div>
     46         </div>
     47     </body>
     48 </html>