tor-browser

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

abspos-026.xht (1111B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4   <title>CSS Test: Positioning replaced elements with four offsets</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/025.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width"/>
      9   <link rel="match" href="abspos-025-ref.xht" />
     10 
     11   <style type="text/css">
     12    body {margin: 8px; font: 1em/1.25 serif;}
     13    strong {line-height: 1;}
     14    img { position: absolute; left: 4em; right: 4em; top: 4em; bottom: 4em; }
     15    div { position: absolute; left: 4em; top: 4em; height: 15px; width: 15px; background: green; }
     16 }
     17   </style>
     18  </head>
     19  <body>
     20   <p>Test passes if there is a green square and <strong>no red</strong>. <img src="support/swatch-red.png" alt="FAIL" /></p>
     21   <div></div>
     22 
     23 
     24 </body>
     25 </html>