tor-browser

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

multi-line-column-flex-fragmentation-017.html (1322B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation with break-inside: avoid.
      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: 5;
     10    column-fill: auto;
     11    column-gap: 0px;
     12    height: 100px;
     13    width: 100px;
     14    position: relative;
     15    background: red;
     16  }
     17  .abs {
     18    position: absolute;
     19    width: 10px;
     20    background: green;
     21  }
     22  #flex {
     23    display: flex;
     24    flex-direction: column;
     25    flex-wrap: wrap;
     26    height: 500px;
     27  }
     28  #flex > div {
     29    background: green;
     30    width: 10px;
     31  }
     32 </style>
     33 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     34 <div class="multicol">
     35  <div id="flex">
     36    <div style="height: 250px; break-inside: avoid;"></div>
     37    <div style="height: 200px; break-inside: avoid;"></div>
     38    <div style="height: 120px; break-inside: avoid;"></div>
     39    <div style="height: 180px; break-inside: avoid;"></div>
     40    <div style="height: 100px; break-inside: avoid;"></div>
     41  </div>
     42  <div class="abs" style="top: 20px; left: 30px; height: 80px;"></div>
     43  <div class="abs" style="top: 50px; left: 40px; height: 50px;"></div>
     44  <div class="abs" style="top: 80px; left: 70px; height: 20px;"></div>
     45 </div>