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-004-ref.html (1071B)


      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: repeat(4, 50px);
      9  width: 170px;
     10 }
     11 </style>
     12 <body>
     13 <p>Ensure that dense-packing correctly iterates through all possible track openings to find an opening span. Item that should be placed into opening is yellow.</p>
     14 <div class="grid">
     15  <div style="background: aquamarine; width: 60px; grid-row: 4;" >
     16    1
     17  </div>
     18    <div style="background: blue; width: 40px; grid-row: 3;" >
     19    2
     20  </div>
     21  <div style="background: blueviolet; width: 20px; grid-row: 2;">
     22    3
     23  </div>
     24  <div style="background: lightsteelblue; width: 60px; grid-row: 1;">
     25    6
     26  </div>
     27  <div style="background: lightblue; width: 10px; grid-row: 3 / span 2;">
     28    4
     29  </div>
     30  <div style="background: lightskyblue; grid-row: 1; width: 30px; grid-row: 4;">
     31    5
     32  </div>
     33  <div style="background: aqua; width: 20px; grid-row: 1 / span 4;">
     34    7
     35  </div>
     36  <div style="background: yellow; width: 10px; grid-row: span 3;">
     37    8
     38  </div>
     39 </div>
     40 </body>
     41 </html>