tor-browser

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

column-dense-packing-multi-span-006-ref.html (1067B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5    display: grid;
      6    grid-template-columns: repeat(4, 50px);
      7    width: 170px;
      8    grid-auto-flow: dense;
      9 }
     10 </style>
     11 <body>
     12  <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>
     13  <div class="grid">
     14    <div style="background: aquamarine; height: 60px;" >
     15      1
     16    </div>
     17    <div style="background: blue; height: 40px;" >
     18      2
     19    </div>
     20    <div style="background: blueviolet; height: 20px;">
     21      3
     22    </div>
     23    <div style="background: lightblue; height: 10px; grid-column: 1 / span 2;">
     24      4
     25    </div>
     26    <div style="background: lightskyblue; grid-column: 1; height: 30px;">
     27      5
     28    </div>
     29    <div style="background: lightsteelblue; height: 60px; grid-column: 4;">
     30      6
     31    </div>
     32    <div style="background: aqua; height: 20px; grid-column: span 4;">
     33      7
     34    </div>
     35    <div style="background: yellow; height: 10px; grid-column: span 3;">
     36      8
     37    </div>
     38  </div>
     39 </body>
     40 </html>