tor-browser

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

font-family-011.xht (1441B)


      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: font-family and whitespace</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/fonts/family/001.xml" type="application/xhtml+xml"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" />
      8   <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/>
      9   <link rel="match" href="font-family-011-ref.xht" />
     10 
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css">
     13    .test { border: solid; margin: 1em; padding: 0 1em; background: navy; color: yellow; font: 900 2em Ahem, Marlett, Arial; }
     14    .a { font-family: Courier New, Ahem, Marlett, Arial, sans-serif; }
     15    .b { font-family: Courier            New, Ahem, Marlett, Arial, sans-serif; } /* keep those spaces! */
     16    .c { font-family: Courier
     17 New, Ahem, Marlett, Arial, sans-serif; } /* do not delete this newline! */
     18    .d { font-family:  Courier  New  , Ahem, Marlett, Arial, sans-serif; } /* that is a tab! */
     19   </style>
     20  </head>
     21  <body>
     22   <p>This following four lines of text should have the same font.</p>
     23   <p class="test a">Test</p>
     24   <p class="test b">Test</p>
     25   <p class="test c">Test</p>
     26   <p class="test d">Test</p>
     27  </body>
     28 </html>