tor-browser

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

column-dense-packing-007-ref.html (939B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5    display: grid;
      6    grid-template-columns: repeat(4, 50px);
      7    gap: 10px;
      8    grid-auto-flow: dense;
      9 }
     10 </style>
     11 <body>
     12 <p>Test that we always prioritize the highest position in "open" tracks even if there is a track opening available that is lower.</p>
     13 <div class="grid">
     14  <div style="background: lavender; height: 60px; grid-column: 3;">
     15    1
     16  </div>
     17  <div style="background: lightpink; grid-column: 2 / span 3; height: 10px;">
     18    2
     19  </div>
     20  <div style="background: lightgreen; height: 15px; grid-row: 1;">
     21    3
     22  </div>
     23  <div style="background: yellow; height: 20px;">
     24    5
     25  </div>
     26  <div style="background: yellow; height: 20px;">
     27    4
     28  </div>
     29  <div style="background: lightblue; height: 15px; transform: translateY(-45px);">
     30    6
     31  </div>
     32  <div style="background: lightcoral; height: 15px; transform: translateY(-65px); grid-column: 2;">
     33    7
     34  </div>
     35 </div>
     36 </body>
     37 </html>