tor-browser

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

clearance-006.xht (1360B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      2                       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Zero Clearance</title>
      6   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-07-02 -->
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#flow-control"/>
      9   <link rel="match" href="clearance-006-ref.xht" />
     10 
     11   <meta name="assert" content="Zero clearance is not the same as no clearance."/>
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css">
     14     div {
     15       font: 20px/1em Ahem;
     16       width: 5em;
     17     }
     18     .container {
     19       border-top: solid green 1em;
     20       border-bottom: solid red 1em;
     21       height: 4em;
     22     }
     23     .before {
     24       margin-bottom: 2em;
     25     }
     26     .float {
     27       float: left;
     28       height: 2em;
     29     }
     30     .clear {
     31       clear: both;
     32       margin-top: 2em;
     33       height: 1em;
     34       background: green;
     35     }
     36     </style>
     37   </head>
     38   <body>
     39     <p>Test passes if there is no red.</p>
     40     <div class="container">
     41       <div class="before"></div>
     42       <div class="float"></div>
     43       <div class="clear"></div>
     44     </div>
     45   </body>
     46 </html>