tor-browser

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

font-family-name-024.xht (2249B)


      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: system font names in font-family lists</title>
      5         <link rel="author" title="Mozilla" href="http://www.mozilla.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family" />
      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-name-024-ref.xht"/>
     10         <meta name="assert" content="System font names are only allowed with the font shorthand, not in font-family rules" />
     11         <style type="text/css">
     12             body {
     13                 font-size: 36px;
     14                 /* prevent scrollbar because of visually empty paragraph elements */
     15                 overflow: hidden;
     16             }
     17             span#verify { font-family: CSSTest Verify; }
     18             div.test { font-family: CSSTest Fallback; }
     19             p {
     20             }
     21             p#test1 {
     22                 font-family: caption, CSSTest Fallback;
     23             }
     24             p#test2 {
     25                 font-family: icon, CSSTest Fallback;
     26             }
     27             p#test3 {
     28                 font-family: menu, CSSTest Fallback;
     29             }
     30             p#test4 {
     31                 font-family: message-box, CSSTest Fallback;
     32             }
     33             p#test5 {
     34                 font-family: small-caption, CSSTest Fallback;
     35             }
     36             p#test6 {
     37                 font-family: status-bar, CSSTest Fallback;
     38             }
     39         </style>
     40     </head>
     41     <body>
     42         <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>
     43         <p>PASS</p>
     44         <div class="test"><p id="test1">FAIL</p></div>
     45         <div class="test"><p id="test2">FAIL</p></div>
     46         <div class="test"><p id="test3">FAIL</p></div>
     47         <div class="test"><p id="test4">FAIL</p></div>
     48         <div class="test"><p id="test5">FAIL</p></div>
     49         <div class="test"><p id="test6">FAIL</p></div>
     50     </body>
     51 </html>