tor-browser

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

after-content-display-016.xht (1100B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: :after generated content - display none</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" />
     12   <link rel="match" href="after-content-display-012-ref.xht" />
     13   <meta content="Generated content can have their own display value explicitly set in which case they behave as if they were real elements inserted just inside their associated element." name="assert" />
     14 
     15   <style type="text/css"><![CDATA[
     16   div:after
     17   {
     18   background-color: red;
     19   color: yellow;
     20   content: ".\0D FAIL";
     21   display: none;
     22   font-size: 2em;
     23   }
     24   ]]></style>
     25 
     26  </head>
     27 
     28  <body>
     29 
     30   <p>Test passes if there is <strong>one "Filler text"</strong> and no red.</p>
     31 
     32   <div>Filler text</div>
     33 
     34  </body>
     35 </html>