tor-browser

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

column-reverse-dense-packing-multi-span-004.html (1287B)


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