tor-browser

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

single-line-column-flex-fragmentation-043.html (1048B)


      1 <!DOCTYPE html>
      2 <title>
      3  Single-line column flex fragmentation: OOF static position with alignment
      4  and expansion.
      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  #flex {
     10    display: flex;
     11    flex-direction: column;
     12    position: relative;
     13    justify-content: center;
     14  }
     15  #flex > div {
     16    width: 50px;
     17    background: green;
     18    flex: none;
     19  }
     20 </style>
     21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     22 <div style="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;">
     23  <div id="flex">
     24      <div style="position: absolute; height: 100px; background: green;"></div>
     25      <div style="height: 50px;">
     26        <div style="height: 50px;"></div>
     27        <div style="height: 50px; background: red;"></div>
     28      </div>
     29      <div style="height: 50px; break-before: column; background: red;"></div>
     30      <div style="height: 50px;"></div>
     31    </div>
     32  </div>
     33 </div>