tor-browser

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

font-048.xht (1145B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: font - system fonts</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-shorthand" />
     11   <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-prop"/>
     12   <meta content="ahem" name="flags" />
     13   <meta name="assert" content="A system font sets all of the font subproperties at the same time; then each font subproperty can be altered individually" />
     14 
     15   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     16   <style type="text/css"><![CDATA[
     17   div
     18   {
     19   background-color: red;
     20   color: white;
     21   display: inline-block;
     22   font: 40px/1 Ahem;
     23   }
     24 
     25   span
     26   {
     27   background-color: white;
     28   color: green;
     29   font: menu;
     30   font-size: 40px;
     31   line-height: 1;
     32   }
     33   ]]></style>
     34 
     35  </head>
     36 
     37  <body>
     38 
     39   <p>Test passes if there is <strong>no red</strong>.</p>
     40 
     41   <div>
     42     <span>Text sample</span>
     43   </div>
     44 
     45  </body>
     46 </html>