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


      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-003-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(5, 50px);
     13 }
     14 </style>
     15 <body>
     16 <p>Ensure that dense-packing with multi-span items follows the grid-lanes dense packing algorithm.</p>
     17 <div class="grid-lanes">
     18  <div style="background: brown; width: 80px;"></div>
     19  <div style="background: brown; width: 60px;"></div>
     20  <div style="background: brown; width: 40px;"></div>
     21  <div style="background: brown; width: 30px;"></div>
     22  <div style="background: brown; width: 20px;"></div>
     23  <div style="background: brown; width: 20px; grid-row: span 5;"></div>
     24  <div style="background: pink; width: 30px; grid-row: span 4;">
     25      Item that should not end up in gap.
     26  </div>
     27  <div name="item_that_should_end_up_in_gap" style="background: yellow; width: 20px; grid-row: span 4;"></div>
     28 </div>
     29 </body>
     30 </html>