tor-browser

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

font-009.xht (1813B)


      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: Font shorthand set using the values font-weight, font-style, font-size and font-family</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-shorthand" />
      8         <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-prop"/>
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The 'font' shorthand property accepts and sets font-weight, font-style, font-size and font-family." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             #wrapper
     14             {
     15                 position: relative;
     16             }
     17             #test
     18             {
     19                 font: bold italic 1in Ahem;
     20                 line-height: 1em;
     21                 position: absolute;
     22             }
     23             #reference
     24             {
     25                 color: red;
     26                 font-family: Ahem;
     27                 font-size: 1in;
     28                 font-style: italic;
     29                 font-weight: bold;
     30                 height: 1in;
     31                 left: 0;
     32                 line-height: 1em;
     33                 position: absolute;
     34                 top: 0;
     35                 width: 1in;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if there is no red visible on the page except for antialiasing.</p>
     41         <div id="wrapper">
     42             <div id="reference">x</div>
     43             <div id="test">x</div>
     44         </div>
     45     </body>
     46 </html>