tor-browser

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

single-line-column-flex-fragmentation-056.html (772B)


      1 <!DOCTYPE html>
      2 <title>
      3  Tests that the margin-bottom of the last flex item is taken into account
      4  when fragmenting.
      5 </title>
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      9 <div style="width: 100px; height: 100px; background: red;">
     10  <div style="column-count: 1; width: 100px;">
     11    <div style="display: flex; flex-direction: column;">
     12      <div style="margin-bottom: 20px;">
     13        <div style="height: 50px; width: 100px; background: green;"></div>
     14      </div>
     15    </div>
     16    <div style="margin-top: -20px; height: 50px; width: 100px; background: green;"></div>
     17  </div>
     18 </div>