tor-browser

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

empty-cells-applies-to-013.xht (1728B)


      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-column-group' 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-column-group' elements." />
     10         <style type="text/css">
     11             #table
     12             {
     13                 display: table;
     14                 table-layout: fixed;
     15             }
     16             .tr
     17             {
     18                 display: table-row;
     19             }
     20             .td
     21             {
     22                 color: white;
     23                 display: table-cell;
     24             }
     25             #test
     26             {
     27                 background: red;
     28                 border: 5px solid red;
     29                 display: table-column-group;
     30                 empty-cells: hide;
     31                 height: 1em;
     32                 width: 1em;
     33             }
     34         </style>
     35     </head>
     36     <body>
     37         <p>Test passes if there is no red visible on the page.</p>
     38         <div id="table">
     39             <div class="tr">
     40                 <div id="test"></div>
     41                 <div class="td">XXXXX</div>
     42             </div>
     43             <div class="tr">
     44                 <div class="td">XXXXX</div>
     45                 <div class="td">XXXXX</div>
     46             </div>
     47         </div>
     48     </body>
     49 </html>