tor-browser

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

multi-line-column-flex-fragmentation-002.html (1088B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation with item overflow.
      4 </title>
      5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 <style>
      8  .multicol {
      9    column-count: 2;
     10    column-fill: auto;
     11    column-gap: 0px;
     12    height: 100px;
     13    width: 100px;
     14  }
     15  .flex {
     16    display: flex;
     17    flex-direction: column;
     18    flex-wrap: wrap;
     19    height: 200px;
     20    width: 50px;
     21  }
     22  .flex > div {
     23    height: 100px;
     24    width: 25px;
     25  }
     26  .flex > div > div {
     27    height: 50px;
     28    background: green;
     29  }
     30 </style>
     31 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     32 <div class="multicol">
     33  <div class="flex">
     34    <div>
     35      <div style="height: 100px;"></div>
     36      <div style="background: red;"></div>
     37      <div></div>
     38    </div>
     39    <div>
     40      <div></div>
     41    </div>
     42    <div>
     43      <div style="height: 100px;"></div>
     44      <div style="background: red;"></div>
     45      <div></div>
     46    </div>
     47    <div>
     48      <div></div>
     49    </div>
     50  </div>
     51 </div>