tor-browser

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

table-height-algorithm-016.xht (1467B)


      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: Vertical-align set to 'bottom' with a spanning cell</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         <meta name="assert" content="A spanning cell with Vertical-align set to 'bottom' aligns the cell's content to the bottom of the last row it spans." />
      8         <style type="text/css">
      9             table
     10             {
     11                 height: 100px;
     12             }
     13             td
     14             {
     15                 border: 1px solid black;
     16                 vertical-align: bottom;
     17             }
     18             #small
     19             {
     20                 font-size: small;
     21             }
     22             #large
     23             {
     24                 font-size: large;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <p>Test passes if the "Filler Text" is vertically aligned to the bottom of their boxes.</p>
     30         <table>
     31             <tr>
     32                 <td></td>
     33                 <td rowspan="2">
     34                     <div id="small">Filler Text</div>
     35                 </td>
     36             </tr>
     37             <tr>
     38                 <td>
     39                     <div id="large">Filler Text</div>
     40                 </td>
     41             </tr>
     42         </table>
     43     </body>
     44 </html>