tor-browser

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

column-width-001.xht (1471B)


      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: Column with 'width' property</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#columns" />
      7         <meta name="assert" content="Width can be set on a table column." />
      8         <style type="text/css">
      9             #table
     10             {
     11                 display: table;
     12             }
     13             #column
     14             {
     15                 background: orange;
     16                 display: table-column;
     17             }
     18             #row
     19             {
     20                 display: table-row;
     21             }
     22             #cell
     23             {
     24                 display: table-cell;
     25                 width: 0.5in;
     26             }
     27             #div1
     28             {
     29                 background: blue;
     30             }
     31             #div1, #cell
     32             {
     33                 height: 1in;
     34             }
     35             #column, #div1
     36             {
     37                 width: 1in;
     38             }
     39         </style>
     40     </head>
     41     <body>
     42         <p>Test passes if the orange and blue boxes below are the same width.</p>
     43         <div id="table">
     44             <div id="column"></div>
     45             <div id="row">
     46                 <div id="cell"></div>
     47             </div>
     48         </div>
     49         <div id="div1"></div>
     50     </body>
     51 </html>