tor-browser

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

font-045.xht (1164B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: font - inherit keyword value</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/changes.html#q142" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-shorthand" />
     12   <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-prop"/>
     13   <meta content="ahem invalid" name="flags" />
     14   <meta content="The inherit keyword value cannot mix with other subproperty values" name="assert" />
     15 
     16   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17   <style type="text/css"><![CDATA[
     18   div
     19   {
     20   background-color: red;
     21   color: white;
     22   font: 160px/1 Ahem;
     23   width: 4em;
     24   }
     25 
     26   span
     27   {
     28   background-color: white;
     29   color: green;
     30   font: 40px inherit;
     31   }
     32   ]]></style>
     33 
     34  </head>
     35 
     36  <body>
     37 
     38   <p>Test passes if there is a large green rectangle and <strong>no red</strong>.</p>
     39 
     40   <div>
     41     <span>XXXX</span>
     42   </div>
     43 
     44  </body>
     45 </html>