tor-browser

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

multi-line-column-flex-fragmentation-019.html (1386B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line column flex fragmentation with break-before: 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: 5px;
     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: 5px;
     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 class="abs" style="top: 50px; height: 50px;"></div>
     36  <div class="abs" style="top: 50px; left: 25px; height: 50px;"></div>
     37  <div id="flex">
     38    <div style="height: 50px;"></div>
     39    <div style="height: 50px;"></div>
     40    <div style="height: 350px; break-before: avoid;"></div>
     41    <div style="height: 100px;"></div>
     42    <div style="height: 50px;"></div>
     43    <div style="height: 50px;"></div>
     44    <div style="height: 250px; break-before: avoid;"></div>
     45    <div style="height: 400px;"></div>
     46    <div style="height: 100px; break-before: avoid;"></div>
     47    <div style="height: 500px;"></div>
     48  </div>
     49 </div>