tor-browser

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

before-content-display-005.xht (1071B)


      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 inline-block</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-001-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:before
     17   {
     18   content: "Filler text\A0";
     19   display: inline-block;
     20   }
     21   ]]></style>
     22 
     23  </head>
     24 
     25  <body>
     26 
     27   <p>Test passes if the 2 "Filler text" are both <strong>on the same line</strong>.</p>
     28 
     29   <div>Filler text</div>
     30 
     31  </body>
     32 </html>