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


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="row-reverse-dense-packing-multi-span-001-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: row-reverse;
     12  grid-template-rows: repeat(4, 50px);
     13 }
     14 </style>
     15 <body>
     16 <p>Ensure that dense-packing places multi-spanning item into highest eligible track opening. The yellow item should be placed in track opening.</p>
     17 <div class="grid-lanes">
     18  <div style="background: lightskyblue; width: 70px;" >
     19    1
     20  </div>
     21  <div style="background: lightblue; width: 15px; grid-row: 1;" >
     22    2
     23  </div>
     24  <div style="background: darkblue; width: 20px; grid-row: 1 / span 2;">
     25    3
     26  </div>
     27  <div style="background: yellow; width: 10px; grid-row: span 2;" >
     28    4
     29  </div>
     30  <div style="background: lightblue; width: 70px;" >
     31    5
     32  </div>
     33  <div style="background: darkblue; width: 10px; grid-row: span 3;">
     34    6
     35  </div>
     36  <div style="background: yellow; width: 10px; grid-row: span 2;" >
     37    7
     38  </div>
     39  <!-- This item should be placed in Track 2's second track opening, since that is "start-most" location, as opposed to its auto-placed location in Track 1. -->
     40  <div style="background: yellow; width: 10px;" >
     41    8
     42  </div>
     43 </div>
     44 </body>
     45 </html>