tor-browser

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

row-explicit-placement-003.html (1030B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="row-explicit-placement-003-ref.html">
      5 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      6 <style>
      7 .grid-lanes {
      8    display: grid-lanes;
      9    grid-auto-flow: column;
     10    grid-lanes-direction: row;
     11    background: gray;
     12    flow-tolerance: 0;
     13    height: 200px;
     14    gap: 20px;
     15    padding: 20px;
     16 }
     17 
     18 .first-track {
     19    background: lightskyblue;
     20    grid-row-start: 1;
     21 }
     22 
     23 .second-track {
     24    background: lightcoral;
     25    grid-row-start: 2;
     26    height: 200px;
     27 }
     28 
     29 .third-track {
     30    background: lightgreen;
     31    grid-row-start: 3;
     32 }
     33 </style>
     34 <body>
     35  <p>Test that grid-lanes items with explicit placement are correctly positioned within the grid axis.</p>
     36  <div class="grid-lanes">
     37    <div class="first-track">This is some text</div>
     38    <div class="second-track">Some larger words in this sentence</div>
     39    <div class="third-track">The cat cannot be separated from milk</div>
     40  </div>
     41 </body>
     42 </html>