tor-browser

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

negative-clearance-after-bottom-margin.html (904B)


      1 <!DOCTYPE html>
      2 <title>Negative clearance between bottom margin and cleared child with top margin</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:-50px; z-index:-1;">
      8  <div style="float:left; width:50px; height:50px; border-top:50px solid white; background:green;"></div>
      9  <div style="padding-top:1px;">
     10    <div style="width:100px; background:green;">
     11      <div style="margin-bottom:49px;"></div>
     12      <div style="clear:left; margin-top:98px;"></div>
     13    </div>
     14    <div style="width:100px; height:50px; background:green;"></div>
     15  </div>
     16 </div>