tor-browser

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

position-002.xht (1338B)


      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: Position set to 'relative'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6 		<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-09-19 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-position" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#choose-position" />
      9         <meta name="assert" content="The 'position' property applies the value 'relative' and places the element in normal document flow." />
     10         <style type="text/css">
     11             #wrapper
     12             {
     13                 border: 3px solid orange;
     14             }
     15             #div1
     16             {
     17                 background: blue;
     18                 color: white;
     19                 left: 1in;
     20                 position: relative;
     21                 top: 1in;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if the blue bar is completely shifted below the wide hollow orange rectangle.</p>
     27         <div id="wrapper">
     28             <div id="div1">Text sample</div>
     29         </div>
     30     </body>
     31 </html>