tor-browser

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

table-vertical-align-baseline-009.xht (1162B)


      1 <!DOCTYPE html>
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Test for baseline alignment of table cells</title>
      5   <link rel="author" title="Oriol Brufau" href="obrufau@igalia.com" />
      6   <link rel="help" href="https://github.com/servo/servo/issues/31651" />
      7   <link rel="help" href="https://drafts.csswg.org/css2/#height-layout" />
      8   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
      9   <meta name="assert" content="The baseline of the table should be aligned with the baseline of the cell in the first row." />
     10   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11   <style><![CDATA[
     12     span {
     13       font: 50px/1 Ahem;
     14       color: green;
     15     }
     16   ]]></style>
     17  </head>
     18  <body>
     19   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     20   <div style="float: left; position: relative; font-size: 0; background: red">
     21     <span style="position: absolute; left: 0; bottom: 0">X</span>
     22     <span>X</span>
     23     <span style="display: inline-table">
     24       <span style="display: table-row">X</span>
     25       <span style="display: table-row">X</span>
     26     </span>
     27   </div>
     28  </body>
     29 </html>