tor-browser

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

multi-line-row-flex-fragmentation-086.html (1122B)


      1 <!DOCTYPE html>
      2 <title>
      3  Suppress row flexbox gaps: row gaps should be suppressed if it's split
      4  across fragmentainer breaks or is the last content before a break.
      5 </title>
      6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11520">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <style>
      9  .multicol {
     10    position: relative;
     11    columns: 3;
     12    column-fill: auto;
     13    column-gap: 0px;
     14    width: 100px;
     15    height: 100px;
     16    background: green;
     17  }
     18  .flex {
     19    display: flex;
     20    flex-wrap: wrap;
     21    background: red;
     22  }
     23  .flex>div {
     24    contain: size;
     25    width: 100%;
     26    height: 50px;
     27    background: green;
     28  }
     29  .abspos {
     30    position: absolute;
     31    left: 0px;
     32    top: 75px;
     33    width: 33.33px;
     34    height: 25px;
     35    background: green;
     36  }
     37 </style>
     38 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     39 <div class="multicol">
     40  <div style="height:25px;"></div>
     41  <div class="flex" style="row-gap:100px;">
     42    <div></div>
     43    <div></div>
     44  </div>
     45  <!-- background of flex left in the 1st fragment -->
     46  <div class="abspos"> </div>
     47 </div>