tor-browser

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

row-reverse-dense-packing-multi-span-002-ref.html (715B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5  display: grid;
      6  grid-auto-flow: dense;
      7  grid-auto-columns: min-content;
      8  grid-template-rows: 10px 10px 20px 15px 5px;
      9 }
     10 </style>
     11 <body>
     12 <p>Ensure that dense-packing with multi-span items are placed into tracks with the same used size and the same number of tracks.</p>
     13 <div class="grid">
     14  <div style="background: lightskyblue; width: 20px; grid-row: 3" >
     15    1
     16  </div>
     17  <div style="background: yellow; width: 20px; width: 20px; grid-row: 4 / span 2;" >
     18    4
     19  </div>
     20  <div style="background: lightblue; width: 20px; grid-row: 1 / span 5" >
     21    2
     22  </div>
     23  <div style="background: darkblue; width: 20px; grid-row: 3 / span 3;">
     24    3
     25  </div>
     26 </div>
     27 </body>
     28 </html>