tor-browser

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

inherit-003.xht (1507B)


      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: Inherit on the root element</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit" />
      7         <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inherit" />
      8         <link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inherit" />
      9         <meta name="assert" content="If the 'inherit' value is set on the root element, the property is assigned its initial value." />
     10         <style type="text/css">
     11             html
     12             {
     13                 font-size: 1in;
     14                 font-size: inherit;
     15                 font-style: italic;
     16                 font-style: inherit;
     17                 font-variant: small-caps;
     18                 font-variant: inherit;
     19                 font-weight: bold;
     20                 font-weight: inherit;
     21             }
     22             span
     23             {
     24                 font-size: medium;
     25                 font-style: normal;
     26                 font-variant: normal;
     27                 font-weight: normal;
     28             }
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if the two lines of "Filler Text" below are identical.</p>
     33         <div>
     34             Filler Text
     35             <br />
     36             <span>Filler Text</span>
     37         </div>
     38     </body>
     39 </html>