tor-browser

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

column-reverse-001-ref.html (1518B)


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