tor-browser

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

font-weight-014.xht (1473B)


      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-weight set to the keyword 'inherit'</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-weight" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
      8         <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
      9         <meta name="assert" content="The 'font-weight' property set to 'inherit' properly sets the font to the bold rendering of the font." />
     10         <style type="text/css">
     11             div
     12             {
     13                 color: green;
     14                 font-size: 1in;
     15                 font-weight: normal;
     16                 line-height: 1em;
     17                 position: absolute;
     18             }
     19             #wrapper
     20             {
     21                 font-weight: bold;
     22             }
     23             #test
     24             {
     25                 color: black;
     26                 font-weight: inherit;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if the green text is visible. It can be partially obscured by the black text.</p>
     32         <div id="wrapper">
     33             <div id="reference">Filler Text</div>
     34             <div id="test">Filler Text</div>
     35         </div>
     36     </body>
     37 </html>