tor-browser

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

empty-cells-applies-to-003.xht (1717B)


      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: list-item' 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         <meta name="assert" content="Empty-cells does not apply to 'display: list-item' elements." />
      9         <style type="text/css">
     10             body
     11             {
     12                 margin-left: 1em;
     13             }
     14             #table
     15             {
     16                 display: table;
     17             }
     18             .tr
     19             {
     20                 display: table-row;
     21             }
     22             .td
     23             {
     24                 color: white;
     25                 display: table-cell;
     26             }
     27             #test
     28             {
     29                 background: black;
     30                 border: 5px solid black;
     31                 display: list-item;
     32                 empty-cells: hide;
     33                 height: 1em;
     34                 width: 1em;
     35             }
     36         </style>
     37     </head>
     38     <body>
     39         <p>Test passes if there is a box below and there is a marker bullet on the left-hand side of the box.</p>
     40         <div id="table">
     41             <div class="tr">
     42                 <div id="test"></div>
     43                 <div class="td">XXXXX</div>
     44             </div>
     45             <div class="tr">
     46                 <div class="td">XXXXX</div>
     47                 <div class="td">XXXXX</div>
     48             </div>
     49         </div>
     50     </body>
     51 </html>