tor-browser

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

grid-item-fragmentation-042.html (983B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-grid-1/#pagination">
      3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      4 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      5 <div style="position: relative; width: 100px; height: 100px; columns: 4; column-gap: 0; background: red; column-fill: auto;">
      6  <div style="display: grid; grid-template-columns: 25px;">
      7    <div style="background: green;">
      8      <div style="height: 30px;"></div>
      9      <div style="height: 50px; break-before: column;"></div> <!-- The break-before forces the grid-item into the next column, and grows the row. -->
     10    </div>
     11    <div style="background: green;">
     12      <div style="height: 30px;"></div>
     13      <div style="height: 10px; break-before: column;"></div> <!-- The break-before forces the grid-item into the next column, and grows the row. -->
     14    </div>
     15    <div style="background: green; height: 190px;"></div>
     16  </div>
     17 </div>