tor-browser

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

clear-on-child-with-margins.html (778B)


      1 <!DOCTYPE html>
      2 <title>Child of block with clear</title>
      3 <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
      4 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#flow-control" title="9.5.2 Controlling flow next to floats: the 'clear' property">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      6 <p>Test passes if there is a filled green square.</p>
      7 <div style="position:relative; top:-20px;">
      8  <div style="float:left; margin-top:20px; width:50px; height:50px; background:green;"></div>
      9  <div style="padding-top:1px;">
     10    <div style="margin-top:19px; width:100px; background:green;">
     11      <div style="clear:left; margin-top:25px; width:100px; height:50px; background:green;"></div>
     12    </div>
     13  </div>
     14 </div>