tor-browser

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

position-fixed-007.xht (1259B)


      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: Float is computed to 'none' when element is fixed positioned</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-20 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#absolute-positioning" />
      8 		<link rel="match" href="position-fixed-007-ref.xht" />
      9 
     10         <meta name="assert" content="Float is computed to 'none' when 'position: fixed' is applied." />
     11         <style type="text/css">
     12             p
     13             {
     14                 margin-top: 1in;
     15             }
     16 
     17             div
     18             {
     19                 background: black;
     20                 float: right;
     21                 height: 1in;
     22                 position: fixed;
     23                 top: 0;
     24                 left: 0;
     25                 width: 1in;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if there is a black square in the upper-left corner of the page.</p>
     31         <div></div>
     32     </body>
     33 </html>