tor-browser

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

column-width-002.xht (1566B)


      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-group 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 group." />
      8         <style type="text/css">
      9             #table
     10             {
     11                 display: table;
     12             }
     13             #colgroup
     14             {
     15                 background: orange;
     16                 display: table-column-group;
     17                 width: 1in;
     18             }
     19             #col
     20             {
     21                 display: table-column;
     22             }
     23             #row
     24             {
     25                 display: table-row;
     26             }
     27             #cell
     28             {
     29                 display: table-cell;
     30                 height: 1in;
     31                 width: 0.5in;
     32             }
     33             #div1
     34             {
     35                 background: blue;
     36                 height: 1in;
     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="colgroup">
     45                 <div id="col"></div>
     46            </div>
     47            <div id="row">
     48                 <div id="cell"></div>
     49            </div>
     50         </div>
     51         <div id="div1"></div>
     52     </body>
     53 </html>