tor-browser

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

font-weight-applies-to-017.xht (1316B)


      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 and 'display: inherit' elements</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         <link rel="match" href="font-weight-bold-ref.html" />
     10         <meta name="assert" content="Font weights apply to 'display: inherit' elements." />
     11         <style type="text/css">
     12             #parent, #reference
     13             {
     14                 display: inline;
     15             }
     16             #reference, div div
     17             {
     18                 font-weight: bold;
     19             }
     20             div div
     21             {
     22                 display: inherit;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <p>Test passes if the lines of "Filler Text" below match.</p>
     28         <div id="reference">Filler Text</div>
     29         <div id="parent">
     30             <br />
     31             <div>Filler Text</div>
     32         </div>
     33     </body>
     34 </html>