tor-browser

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

single-line-column-flex-fragmentation-019.html (1094B)


      1 <!DOCTYPE html>
      2 <title>
      3  Single-line column flex fragmentation: break-before values on the first item
      4  are propagated to the flex container.
      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  .multicol {
     10    column-count: 4;
     11    column-gap: 0px;
     12    column-fill: auto;
     13    height: 100px;
     14    width: 100px;
     15    position: relative;
     16    background: red;
     17  }
     18  .abs {
     19    position: absolute;
     20    height: 50px;
     21    width: 25px;
     22  }
     23 </style>
     24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     25 <div class="multicol">
     26  <div style="width: 25px; height: 50px; background: green;"></div>
     27  <div style="width: 25px; height: 50px; background: green;"></div>
     28  <div style="display: flex; flex-direction: column; width: 25px;">
     29    <div style="height: 50px; break-before: avoid; background: green;"></div>
     30    <div style="height: 200px; background: green;"></div>
     31  </div>
     32  <div class="abs" style="background: green; top: 50px; left: 0px;"></div>
     33 </div>