tor-browser

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

fonts-009.xht (997B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: CSS Tables: Font Inheritance</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/table/007.xml" type="application/xhtml+xml"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-layout" />
      8   <meta name="flags" content="ahem" />
      9 
     10   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11   <style type="text/css">
     12    div { font: 50px/1em Ahem; color: green; margin-left: 1em; }
     13    div > * { display: table; background: red; }
     14    td { padding: 0; }
     15    table { border-spacing: 0; }
     16   </style>
     17  </head>
     18  <body>
     19 
     20   <p>There should be no red below, merely two big identical green blocks.</p>
     21   <div>
     22    <div class="table"><tr><td>Test<br/>Test</td></tr></div>
     23    <p>Test<br/>Test</p>
     24   </div>
     25  </body>
     26 </html>