tor-browser

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

table-height-algorithm-031.xht (1361B)


      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 baseline and caption</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#height-layout" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
      8         <meta name="assert" content="A table caption does not set the baseline for a table." />
      9         <style type="text/css">
     10             caption
     11             {
     12                 color: white;
     13             }
     14             td
     15             {
     16                 border: 1px solid black;
     17                 height: 100px;
     18                 vertical-align: baseline;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if the bottoms of the two sets of "Filler Text" below are aligned.</p>
     24         <table>
     25             <tr>
     26                 <td>
     27                     <table>
     28                         <caption>Filler Text</caption>
     29                         <tr>
     30                             <td>Filler Text</td>
     31                         </tr>
     32                     </table>
     33                 </td>
     34                 <td>Filler Text</td>
     35             </tr>
     36         </table>
     37     </body>
     38 </html>