tor-browser

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

caption-side-applies-to-013.xht (1702B)


      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: Caption-side and 'display: table-column-group' elements</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#propdef-caption-side" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#caption-position" />
      8         <link rel="match" href="caption-side-applies-to-008-ref.html" />
      9         <meta name="assert" content="Caption-side does not apply to 'display: table-column-group' elements." />
     10         <style type="text/css">
     11             #table
     12             {
     13                 background: blue;
     14                 display: table;
     15                 table-layout: fixed;
     16             }
     17             #column
     18             {
     19                 caption-side: bottom;
     20                 display: table-column-group;
     21             }
     22             #caption
     23             {
     24                 display: table-caption;
     25             }
     26             #row
     27             {
     28                 display: table-row;
     29             }
     30             #cell
     31             {
     32                 background: blue;
     33                 display: table-cell;
     34                 height: 1in;
     35                 width: 2in;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if the "Filler Text" below is above the box.</p>
     41         <div id="table">
     42             <div id="column"></div>
     43             <div id="caption">Filler Text</div>
     44             <div id="row">
     45                 <div id="cell"></div>
     46             </div>
     47         </div>
     48     </body>
     49 </html>