tor-browser

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

table-header-group-002.xht (1870B)


      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 header group and other row groups</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="A table-header-group element is placed before all other row groups in a table." />
      8         <style type="text/css">
      9             .table
     10             {
     11                 display: table;
     12             }
     13             #thead
     14             {
     15                 background: blue;
     16                 display: table-header-group;
     17             }
     18             #tbody
     19             {
     20                 background: orange;
     21                 display: table-row-group;
     22             }
     23             #tfoot
     24             {
     25                 background: orange;
     26                 display: table-footer-group;
     27             }
     28             .tr
     29             {
     30                 display: table-row;
     31             }
     32             .td
     33             {
     34                 display: table-cell;
     35                 height: 4em;
     36                 width: 4em;
     37             }
     38         </style>
     39     </head>
     40     <body>
     41         <p>Test passes if the blue square below is stacked on top of the orange box.</p>
     42         <div class="table">
     43             <div id="tfoot">
     44                 <div class="tr">
     45                      <div class="td"></div>
     46                 </div>
     47             </div>
     48             <div id="tbody">
     49                 <div class="tr">
     50                      <div class="td"></div>
     51                 </div>
     52             </div>
     53             <div id="thead">
     54                 <div class="tr">
     55                      <div class="td"></div>
     56                 </div>
     57             </div>
     58         </div>
     59     </body>
     60 </html>