tor-browser

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

table-footer-group-003.xht (2040B)


      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 footer group and top captions</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-footer-group element is placed before any bottom captions." />
      8         <style type="text/css">
      9             .table
     10             {
     11                 display: table;
     12             }
     13             .caption
     14             {
     15                 background: orange;
     16                 border: 1px solid black;
     17                 caption-side: bottom;
     18                 color: orange;
     19                 display: table-caption;
     20                 height: 4em;
     21                 width: 4em;
     22             }
     23             #tfoot
     24             {
     25                 background: blue;
     26                 display: table-footer-group;
     27             }
     28             #tbody
     29             {
     30                 background: orange;
     31                 display: table-row-group;
     32             }
     33             .tr
     34             {
     35                 display: table-row;
     36             }
     37             .td
     38             {
     39                 border: 1px solid black;
     40                 display: table-cell;
     41                 height: 4em;
     42                 width: 4em;
     43             }
     44         </style>
     45     </head>
     46     <body>
     47         <p>Test passes if the blue square below is stacked above either one or two orange squares and has one orange square above it.</p>
     48         <div class="table">
     49             <div class="caption"></div>
     50             <div class="caption"></div>
     51             <div id="tfoot">
     52                 <div class="tr">
     53                      <div class="td"></div>
     54                 </div>
     55             </div>
     56             <div id="tbody">
     57                 <div class="tr">
     58                      <div class="td"></div>
     59                 </div>
     60             </div>
     61         </div>
     62     </body>
     63 </html>