tor-browser

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

multi-line-row-flex-fragmentation-031.html (1210B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line row flex fragmentation: column balancing with forced break.
      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    height: 50px;
     12    align-content: space-between;
     13    background: green;
     14  }
     15  #flex > div {
     16    width: 50px;
     17    background: green;
     18  }
     19  .abs {
     20    position: absolute;
     21    width: 50px;
     22    background: green;
     23  }
     24 </style>
     25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     26 <div style="width:100px; height:100px; background:red;">
     27  <div style="width: 100px; columns: 2; column-gap: 0; position: relative;">
     28    <div class="abs" style="height: 15px; left: 50px;"></div>
     29    <div class="abs" style="height: 15px; top: 25px; left: 50px;"></div>
     30    <div id="flex">
     31      <div style="height: 5px;"></div>
     32      <div style="height: 10px; break-before: column;"></div>
     33      <div style="height: 5px;">
     34        <div style="height: 60px; width: 50px; background: green;"></div>
     35      </div>
     36    </div>
     37    <div class="abs" style="height: 50px;"></div>
     38  </div>
     39 </div>