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.html (1319B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="column-dense-packing-multi-span-006-ref.html">
      5 <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
      6 <style>
      7 .grid-lanes {
      8    display: grid-lanes;
      9    flow-tolerance: 0;
     10    grid-template-columns: repeat(4, 50px);
     11    width: 170px;
     12    grid-auto-flow: dense;
     13 }
     14 </style>
     15 <body>
     16  <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>
     17  <div class="grid-lanes">
     18    <div style="background: aquamarine; height: 60px;" >
     19      1
     20    </div>
     21    <div style="background: blue; height: 40px;" >
     22      2
     23    </div>
     24    <div style="background: blueviolet; height: 20px;">
     25      3
     26    </div>
     27    <div style="background: lightblue; height: 10px; grid-column: 1 / span 2;">
     28      4
     29    </div>
     30    <div style="background: lightskyblue; grid-column: 1; height: 30px;">
     31      5
     32    </div>
     33    <div style="background: lightsteelblue; height: 60px; grid-column: 4;">
     34      6
     35    </div>
     36    <div style="background: aqua; height: 20px; grid-column: span 4;">
     37      7
     38    </div>
     39    <div style="background: yellow; height: 10px; grid-column: span 3;">
     40      8
     41    </div>
     42  </div>
     43 </body>
     44 </html>