tor-browser

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

multi-line-row-flex-fragmentation-067.html (902B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line row flex fragmentation: row gaps should be truncated by
      4  fragmentainer breaks. Test with forced breaks.
      5 </title>
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="match" href="multi-line-row-flex-fragmentation-067-ref.html">
      8 <style>
      9  .multicol {
     10    columns: 2;
     11    column-fill: auto;
     12    width: 300px;
     13    height: 100px;
     14    margin: 20px;
     15    background: yellow;
     16  }
     17  .flex {
     18    display: flex;
     19    flex-wrap: wrap;
     20    background: gray;
     21  }
     22  .flex > div {
     23    contain: size;
     24    width: 100%;
     25    height: 50px;
     26    background: cyan;
     27    break-before: always;
     28  }
     29 </style>
     30 <p>Flex row gaps <strong>should</strong> be truncated when a row breaks.</p>
     31 <div class="multicol">
     32  <div class="flex" style="row-gap:100px;">
     33    <div></div>
     34    <div style="break-after:avoid;"></div>
     35    <div></div>
     36    <div></div>
     37  </div>
     38 </div>