tor-browser

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

row-reverse-001-ref.html (1470B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5    display: grid;
      6    grid-template-rows: repeat(3, 50px);
      7    grid-template-columns: repeat(4, 20px) min-content min-content;
      8    gap: 10px;
      9    grid-auto-flow: column;
     10 }
     11 </style>
     12 <body>
     13  <p>Test that grid-lanes items with reverse auto placement and explicit placement are correctly positioned within the grid axis.</p>
     14  <div class="grid">
     15    <div style="background: lightgreen; width: 20px;">3</div>
     16    <div style="background: lightskyblue; width: 20px;">2</div>
     17    <div style="background: lavender; width: 20px;">1</div>
     18    <div style="background: lavender; width: 20px;">5</div>
     19    <div style="background: lightpink; grid-row: span 2; width: 20px;">4</div>
     20    <div style="background: lightgreen; width: 20px; grid-row: 2;">7</div>
     21    <div style="background: lightskyblue; width: 20px;">6</div>
     22    <div style="background: lightpink; grid-row: 1 / span 2; width: 20px;">8</div>
     23    <div style="background: lavender; width: 20px;">9</div>
     24    <div style="background: lavender; width: 30px;">11</div>
     25    <div style="background: lightskyblue; width: 20px;">10</div>
     26    <div style="background: lightskyblue; width: 40px;">12</div>
     27    <div style="background: lightgreen; width: 10px; transform: translateX(-10px);">14</div>
     28    <div style="background: lightgreen; width: 50px; transform: translateX(-20px);">13</div>
     29    <div style="background: lightskyblue; width: 40px; grid-row: 3;">15</div>
     30  </div>
     31 </body>
     32 </html>