tor-browser

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

multi-line-row-flex-fragmentation-045.html (848B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line row flex fragmentation: Negative margins.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  #flex {
      9    display: flex;
     10    flex-wrap: wrap;
     11  }
     12  #flex > div {
     13    margin-top: -100px;
     14    height: 100px;
     15    width: 20px;
     16    break-before: column;
     17    background: green;
     18  }
     19 </style>
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     21 <div style="height: 100px; width: 100px; background: red; position: absolute">
     22  <div style="margin-top: 100px; width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto;">
     23    <div id="flex">
     24      <div></div>
     25      <div></div>
     26      <div></div>
     27      <div></div>
     28      <div></div>
     29    </div>
     30  </div>
     31 </div>