tor-browser

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

before-content-display-004.xht (1140B)


      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: :before generated content - display run-in</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="reviewer" title="Microsoft" href="http://www.microsoft.com/" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" title="12.1 The :before and :after pseudo-elements" />
     12   <link rel="help" href="http://www.w3.org/TR/css3-box/#run-in-boxes" title="4.3. Run-in boxes" />
     13 
     14   <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" />
     15 
     16   <style type="text/css"><![CDATA[
     17   div:before
     18   {
     19   content: "Filler text ";
     20   display: run-in;
     21   }
     22   ]]></style>
     23 
     24  </head>
     25 
     26  <body>
     27 
     28   <p>Test passes if the 2 "Filler text" are both <strong>on the same line</strong>.</p>
     29 
     30   <div>Filler text</div>
     31 
     32  </body>
     33 </html>