tor-browser

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

abspos-inline-001.xht (1383B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Absolutely positioned boxes in inlines: 'auto'</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-09-14 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/inline/001.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#comp-abspos" />
      9 
     10   <meta name="flags" content="interact" />
     11 
     12   <style type="text/css">
     13    p { font: 1em monospace; }
     14    .filler { color: silver; }
     15    .absolute { color: white; background: green; position: absolute; }
     16    .fail { color: yellow; background: red; }
     17   </style>
     18  </head>
     19  <body>
     20   <p>
     21    <span class="filler"> This is filler text. This is filler text. This is filler text. </span>
     22    <span class="test"> The test has <span class="absolute">PASSED</span><span class="fail">FAILED</span>.</span>
     23    <span class="filler"> This is filler text. This is filler text. This is filler text. </span>
     24   </p>
     25   <p>(Exception: when the word FAILED is at the beginning of a
     26   line, the word PASSED may still be at the end of the previous
     27   line.)</p>
     28  </body>
     29 </html>