tor-browser

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

grid-item-fragmentation-040.html (993B)


      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: 2; column-gap: 0; background: red; column-fill: auto;">
      6  <div style="display: grid; grid-template-areas: 'a b' 'c c'; grid-template-columns: 25px 25px;">
      7    <div style="background: green; grid-area: b; line-height: 0;">
      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; grid-area: a;"></div>
     12    <div style="background: green; grid-area: c; height: 20px;"></div>
     13  </div>
     14  <div style="position: absolute; background: green; width: 50px; height: 30px; bottom: 0; right: 0;"></div>
     15 </div>