tor-browser

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

row-initial-flow-tolerance.html (1281B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta charset="utf-8">
      4 <title>CSS Grid Lanes Test: Initial value of flow-tolerance</title>
      5 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-grid-3/#item-slack">
      7 <link rel="match" href="row-initial-flow-tolerance-ref.html">
      8 <link rel="stylesheet" href="/fonts/ahem.css">
      9 <style>
     10 .grid-lanes {
     11    display: grid-lanes;
     12    grid-lanes-direction: row;
     13    background: gray;
     14    font: 50px/1 Ahem;
     15    grid-template-rows: repeat(2, 1fr);
     16    flow-tolerance: initial;
     17    gap: 20px;
     18    padding: 20px;
     19    width: 170px;
     20 }
     21 
     22 .auto-item {
     23    padding: 10px;
     24    height: 100px;
     25 }
     26 
     27 .auto-item:nth-of-type(1) {
     28    background: lightskyblue;
     29 }
     30 
     31 .auto-item:nth-of-type(2) {
     32    background: lightcoral;
     33 }
     34 
     35 .auto-item:nth-of-type(3) {
     36    background: lightgreen;
     37 }
     38 
     39 .auto-item:nth-of-type(4) {
     40    background: palegoldenrod;
     41 }
     42 </style>
     43 <body>
     44  <p>Test that the initial tie threshold for grid-lanes is correctly resolved.</p>
     45  <div class="grid-lanes">
     46    <div class="auto-item" style="width: 80px"></div>
     47    <div class="auto-item" style="width: 30px"></div>
     48    <div class="auto-item" style="width: 30px"></div>
     49    <div class="auto-item" style="width: 80px"></div>
     50  </div>
     51 </body>
     52 </html>