tor-browser

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

below-float2.html (938B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://www.w3.org/TR/css-text-4/#text-indent-property">
      3 <meta name="assert" content="Floats are not part of lines, so if a float is too wide to fit any inline content beside it, the first formatted line goes below it">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      6 <style>
      7 .container {
      8  position: relative;
      9  width: 100px;
     10  height: 100px;
     11  font: 50px/50px Ahem;
     12  text-indent: 50px;
     13  color: green;
     14  background-color: red;
     15 }
     16 
     17 .abs_pos {
     18  position: absolute;
     19  top: 50px;
     20  width: 50px;
     21  height: 50px;
     22  background-color: green;
     23 }
     24 
     25 .float_box {
     26  float: left;
     27  width: 100px;
     28  height: 50px;
     29  background-color: green;
     30 }
     31 </style>
     32 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     33 <div class=container>
     34  <div class=abs_pos></div>
     35  <div class=float_box></div>x
     36 </div>