tor-browser

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

after-content-display-006.xht (1041B)


      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 table</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-002-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   content: "Filler text";
     19   display: table;
     20   }
     21   ]]></style>
     22 
     23  </head>
     24 
     25  <body>
     26 
     27   <p>Test passes if there are <strong>2 lines of "Filler text"</strong>.</p>
     28 
     29   <div>Filler text</div>
     30 
     31  </body>
     32 </html>