tor-browser

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

single-line-column-flex-fragmentation-015.html (932B)


      1 <!DOCTYPE html>
      2 <title>
      3  Single-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: 4;
     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    height: 50px;
     20    width: 25px;
     21    top: 50px;
     22    left: 50px;
     23    background: green;
     24  }
     25 </style>
     26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27 <div class="multicol">
     28  <div style="display: flex; flex-direction: column; width: 25px;">
     29    <div style="height: 250px; break-inside: avoid; background: green;"></div>
     30    <div style="height: 100px; break-inside: avoid; background: green;"></div>
     31  </div>
     32  <div class="abs"></div>
     33 </div>