tor-browser

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

content-160.xht (1163B)


      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: Content with the value of 'inherit'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
      8         <meta name="assert" content="The 'content' property correctly handles an 'inherit' value." />
      9         <style type="text/css">
     10             #div1
     11             {
     12                 background: white;
     13                 color: blue;
     14                 content: "TEXT";
     15             }
     16             div:before
     17             {
     18                 color: green;
     19                 content: inherit;
     20             }
     21         </style>
     22     </head>
     23     <body>
     24         <p>Test passes if there is nothing displayed below or the words "TEXT TEXT" are below, and the left "TEXT" is green and the right "TEXT' is blue.</p>
     25         <div id="div1">
     26             <div></div>
     27         </div>
     28     </body>
     29 </html>