tor-browser

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

content-047.xht (1165B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Content with a 'attr()' function as a value selecting 'background'</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         <link rel="match" href="content-047-ref.html" />
      9         <meta name="assert" content="The 'content' property correctly handles the 'attr()' function when calling the attribute 'background'." />
     10         <style type="text/css">
     11             body:before {
     12                 content: attr(background);
     13                 color: green;
     14             }
     15             body {
     16                 margin: 0px;
     17             }
     18             p {
     19                 margin-left: 8px;
     20             }
     21         </style>
     22     </head>
     23     <body background="PASS PASS">
     24         <p>Test passes if the words "PASS PASS" appear above this text.</p>
     25     </body>
     26 </html>