tor-browser

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

multi-line-row-flex-fragmentation-053.html (1253B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line row flex fragmentation: Row expansion and stretching with item overflow.
      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    background: green;
     14    width: 50%;
     15  }
     16 </style>
     17 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     18 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; position: relative; background: red;">
     19  <div id="flex">
     20    <div>
     21      <div style="height: 30px;"></div>
     22      <div style="height: 50px; break-before: column;"></div> <!-- The break-before forces the grid-item into the next column, and grows the row. -->
     23    </div>
     24    <div></div>
     25    <div>
     26      <div style="height: 30px;"></div>
     27      <div style="height: 10px; break-before: column;"></div> <!-- The break-before forces the grid-item into the next column, and grows the row. -->
     28    </div>
     29    <div></div>
     30    <div></div>
     31    <div style="height: 100px;">
     32      <div style="height: 200px;"></div>
     33    </div>
     34    <div style="height: 190px;"></div>
     35    <div></div>
     36  </div>
     37 </div>