tor-browser

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

table-001.xht (1262B)


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