tor-browser

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

column-background-002.xht (1641B)


      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 background 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="A background can be set on a table column group." />
      8         <style type="text/css">
      9             #table
     10             {
     11                 background: orange;
     12                 display: table;
     13             }
     14             #columngroup1, #columngroup2
     15             {
     16                 display: table-column-group;
     17             }
     18             #columngroup2
     19             {
     20                 background: blue;
     21             }
     22             .column
     23             {
     24                 display: table-column;
     25             }
     26             #row
     27             {
     28                 display: table-row;
     29             }
     30             .cell
     31             {
     32                 display: table-cell;
     33                 height: 1in;
     34                 width: 1in;
     35             }
     36         </style>
     37     </head>
     38     <body>
     39         <p>Test passes if the blue box is to the right of the orange box.</p>
     40         <div id="table">
     41             <div id="columngroup1">
     42                 <div class="column"></div>
     43             </div>
     44             <div id="columngroup2">
     45                 <div class="column"></div>
     46             </div>
     47             <div id="row">
     48                 <div class="cell"></div>
     49                 <div class="cell"></div>
     50            </div>
     51         </div>
     52     </body>
     53 </html>