tor-browser

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

multi-line-column-flex-fragmentation-033.html (2171B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation: column balancing with forced break.
      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  #flex {
      9    display: flex;
     10    flex-direction: column;
     11    flex-wrap: wrap;
     12    background: green;
     13    height: 100px;
     14  }
     15  #flex > div {
     16    width: 10px;
     17    background: green;
     18    flex: none;
     19  }
     20 </style>
     21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     22 <div style="width:100px; height:100px; background:red;">
     23  <div style="width: 100px; columns: 5; column-gap: 0;">
     24    <div id="flex">
     25      <!-- flex column 1 -->
     26      <div style="height: 5px;"></div>
     27      <div style="height: 10px; break-before: column;"></div>
     28      <div style="height: 5px;">
     29        <div style="height: 90px; width: 10px; background: green;"></div>
     30      </div>
     31      <div style="height: 5px;"></div>
     32      <div style="height: 10px; break-before: column;"></div>
     33      <div style="height: 5px;">
     34        <div style="height: 90px; width: 10px; background: green;"></div>
     35      </div>
     36      <div style="height: 10px; break-before: column;"></div>
     37      <div style="height: 5px;">
     38        <div style="height: 90px; width: 10px; background: green;"></div>
     39      </div>
     40      <div style="height: 5px;break-before: column;">
     41        <div style="height: 100px; width: 20px; background: green;"></div>
     42      </div>
     43       <!-- flex column 2 -->
     44      <div style="height: 50px;"></div>
     45      <div style="height: 10px; break-before: column;"></div>
     46      <div style="height: 5px;">
     47        <div style="height: 90px; width: 10px; background: green;"></div>
     48      </div>
     49      <div style="height: 5px;"></div>
     50      <div style="height: 10px; break-before: column;"></div>
     51      <div style="height: 5px;">
     52        <div style="height: 90px; width: 10px; background: green;"></div>
     53      </div>
     54      <div style="height: 10px; break-before: column;"></div>
     55      <div style="height: 5px;">
     56        <div style="height: 90px; width: 10px; background: green;"></div>
     57      </div>
     58    </div>
     59  </div>
     60 </div>