tor-browser

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

clear-on-child-with-margins-2.html (700B)


      1 <!DOCTYPE html>
      2 <title>Child of block with clear</title>
      3 <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">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      5 <p>Test passes if there is a filled green square.</p>
      6 <div style="width: 100px;background: red;overflow: hidden;">
      7  <div style="float: right; height: 20px; width: 50%; background: green;"></div>
      8  <div>
      9    <div style="float: left; height:100px; width: 50%; background: green;"></div>
     10    <div>
     11      <div style="clear: right; height: 80px; margin-top: 16px; background: green;"></div>
     12    </div>
     13  </div>
     14 </div>