tor-browser

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

single-line-column-flex-fragmentation-020.html (1164B)


      1 <!DOCTYPE html>
      2 <title>
      3  Single-line column flex fragmentation: break-after values on the last 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    top: 50px;
     23    left: 25px;
     24    background: green;
     25  }
     26 </style>
     27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     28 <div class="multicol">
     29  <div style="width: 25px; height: 50px; background: green;"></div>
     30  <div style="width: 25px; height: 50px; background: green;"></div>
     31  <div style="display: flex; flex-direction: column; width: 25px;">
     32    <div style="height: 50px; background: green;"></div>
     33    <div style="height: 50px; break-after: avoid; background: green;"></div>
     34  </div>
     35  <div style="width: 25px; height: 150px; background: green;"></div>
     36  <div class="abs"></div>
     37 </div>