tor-browser

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

multi-line-row-flex-fragmentation-092.html (1176B)


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