tor-browser

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

table-footer-group-001.xht (2246B)


      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</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         <link rel="match" href="table-row-group-001-ref.xht" />
      8         <meta name="assert" content="An element with 'display: table-footer-group' is rendered as if it were a table footer group." />
      9         <style type="text/css">
     10             .table
     11             {
     12                 background: blue;
     13                 border: 2px solid black;
     14                 display: table;
     15             }
     16             .footer
     17             {
     18                 background: white;
     19                 display: table-footer-group;
     20             }
     21             .tr
     22             {
     23                 display: table-row;
     24             }
     25             .td
     26             {
     27                 display: table-cell;
     28                 height: 2em;
     29                 width: 2em;
     30             }
     31         </style>
     32     </head>
     33     <body>
     34         <p>Test passes if there is a square below, and the top half of the square is blue.</p>
     35         <div class="table">
     36             <div class="footer">
     37                 <div class="tr">
     38                      <div class="td"></div>
     39                      <div class="td"></div>
     40                      <div class="td"></div>
     41                      <div class="td"></div>
     42                 </div>
     43                 <div class="tr">
     44                      <div class="td"></div>
     45                      <div class="td"></div>
     46                      <div class="td"></div>
     47                      <div class="td"></div>
     48                 </div>
     49             </div>
     50             <div class="tr">
     51                  <div class="td"></div>
     52                  <div class="td"></div>
     53                  <div class="td"></div>
     54                  <div class="td"></div>
     55             </div>
     56             <div class="tr">
     57                  <div class="td"></div>
     58                  <div class="td"></div>
     59                  <div class="td"></div>
     60                  <div class="td"></div>
     61             </div>
     62         </div>
     63     </body>
     64 </html>