tor-browser

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

font-family-name-025.html (1232B)


      1 <!DOCTYPE html>
      2 <title>CSS Test: font family name should not match postscript font name</title>
      3 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family" />
      4 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" />
      5 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop" />
      6 <link rel="match" href="font-family-name-025-ref.html" />
      7 <meta name="assert" content="The 'font-family' property set to and installed font renders the appropriate font. Postscript name should not match." />
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10 body { font-size: 36px; }
     11 span#verify { font-family: CSSTest Verify; }
     12 p.test {
     13  /* Verdana-Bold is a standard supplied font on Windows, Mac, and Linux
     14     allowing this test to actually work on most systems without the CSS
     15     test fonts. */
     16  font-family: CSSTestBasic-Bold, Verdana-Bold, ahem, monospace;
     17 }
     18 p {
     19  font-family: ahem, monospace;
     20 }
     21 </style>
     22 <div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test fonts</a> must be installed for this test: <span id="verify">FAIL</span></div>
     23 <p class="test">These two lines should use the same font.</p>
     24 <p>These two lines should use the same font.</p>