tor-browser

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

table-height-algorithm-027.xht (1649B)


      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: In-flow boxes are considered scrolled to origin position when finding a baseline</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="flags" content="ahem" />
      8         <meta name="assert" content="In-flow boxes are considered to be scrolled to their origin position when finding a baseline." />
      9         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10         <style type="text/css">
     11             table
     12             {
     13                 border-spacing: 0;
     14                 color: blue;
     15                 font: 20px/1 Ahem;
     16             }
     17             td
     18             {
     19                 padding: 0;
     20                 vertical-align: baseline;
     21                 width: 5em;
     22             }
     23             div
     24             {
     25                 color: white;
     26                 height: 50px;
     27                 overflow: auto;
     28             }
     29             span
     30             {
     31                 color: blue;
     32             }
     33         </style>
     34     </head>
     35     <body>
     36         <p>Test passes if there is a single blue box below with no jagged edges.</p>
     37         <table>
     38             <tr>
     39                 <td>XXXXX</td>
     40                 <td>
     41                     <div>
     42                         <span>XXXX</span>
     43                         XXXX XXXX XXXX
     44                     </div>
     45                 </td>
     46             </tr>
     47         </table>
     48     </body>
     49 </html>