tor-browser

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

multi-line-column-flex-fragmentation-034.html (1378B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation: break-before:avoid/break-inside:avoid
      4  and column balancing.
      5 </title>
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <style>
      9  #flex {
     10    display: flex;
     11    flex-direction: column;
     12    flex-wrap: wrap;
     13    height: 200px;
     14  }
     15  #flex > div {
     16    width: 25px;
     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: 2; column-gap: 0; position: relative;">
     24    <div id="flex">
     25      <div style="height: 25px;"></div>
     26      <div style="height: 25px;"></div>
     27      <div style="height: 50px;"></div>
     28      <div style="height: 25px; break-before: avoid;"></div>
     29      <div style="height: 75px;"></div>
     30      <div style="height: 25px;"></div>
     31      <div style="height: 25px;"></div>
     32      <div style="height: 50px;"></div>
     33      <div style="height: 50px; break-before: avoid; break-inside: avoid;"></div>
     34      <div style="height: 50px;"></div>
     35    </div>
     36    <div style="height: 50px; width: 50px; background: green;"></div>
     37    <div style="position: absolute; left: 0px; height: 50px; width: 50px; background: white;"></div>
     38  </div>
     39 </div>