tor-browser

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

single-line-row-flex-fragmentation-025.html (824B)


      1 <!DOCTYPE html>
      2 <title>
      3  Single-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  }
     11  #flex > div {
     12    width: 25px;
     13    background: green;
     14  }
     15 </style>
     16 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     17 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; position: relative; background: red;">
     18  <div id="flex">
     19    <div style="height: 200px;"></div>
     20    <div style="height: 210px; margin-top: -10px; break-before: column;"></div>
     21  </div>
     22  <div style="position: absolute; height: 10px; width: 25px; top: -10px; left: 25px; background: white;"></div>
     23 </div>