tor-browser

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

inherit-001.xht (1074B)


      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 keyword</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="Children elements inherit the parents color given the 'inherit' keyword." />
     10         <style type="text/css">
     11             body
     12             {
     13                 color: green;
     14             }
     15             div
     16             {
     17                 color: red;
     18             }
     19             body div
     20             {
     21                 color: inherit;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if the "Filler Text" below is green.</p>
     27         <div>Filler Text</div>
     28     </body>
     29 </html>