tor-browser

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

font-042.xht (1970B)


      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 to 'inherit' inheriting five values</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         <link rel="match" href="../reference/no_red_bold_italic_small-caps_ahem.html"/>
     10         <meta name="flags" content="ahem" />
     11         <meta name="assert" content="The 'font' shorthand property set to 'inherit' inherits the parent element's values." />
     12         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13         <style type="text/css">
     14             #wrapper
     15             {
     16                 font: italic small-caps bold 1in Ahem;
     17                 position: relative;
     18             }
     19             #test
     20             {
     21                 font: 0 Ahem;
     22                 font: inherit;
     23                 line-height: 1em;
     24                 position: absolute;
     25             }
     26             #reference
     27             {
     28                 color: red;
     29                 font-family: Ahem;
     30                 font-size: 1in;
     31                 font-style: italic;
     32                 font-variant: small-caps;
     33                 font-weight: bold;
     34                 height: 1in;
     35                 left: 0;
     36                 line-height: 1em;
     37                 position: absolute;
     38                 top: 0;
     39                 width: 1in;
     40             }
     41         </style>
     42     </head>
     43     <body>
     44         <p>Test passes if there is no red visible on the page except for antialiasing.</p>
     45         <div id="wrapper">
     46             <div id="reference">x</div>
     47             <div id="test">x</div>
     48         </div>
     49     </body>
     50 </html>