tor-browser

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

table-column-001.xht (1429B)


      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: Table-column</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#table-display" />
      7         <meta name="assert" content="An element with 'display: table-column' as if it were a table column." />
      8         <style type="text/css">
      9             .table
     10             {
     11                 display: table;
     12             }
     13             .column
     14             {
     15                 background: black;
     16                 display: table-column;
     17             }
     18             .tr
     19             {
     20                 display: table-row;
     21             }
     22             .td
     23             {
     24                 display: table-cell;
     25                 height: 2em;
     26                 width: 2em;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if there is a square below.</p>
     32         <div class="table">
     33             <div class="column"></div>
     34             <div class="column"></div>
     35             <div class="tr">
     36                 <div class="td"></div>
     37                 <div class="td"></div>
     38             </div>
     39             <div class="tr">
     40                 <div class="td"></div>
     41                 <div class="td"></div>
     42             </div>
     43         </div>
     44     </body>
     45 </html>