tor-browser

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

single-line-column-flex-fragmentation-042.html (999B)


      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: flex-end;
     14  }
     15  #flex > div {
     16    width: 50px;
     17    flex: none;
     18  }
     19 </style>
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     21 <div style="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;">
     22  <div style="background: green; height: 40px;"></div>
     23  <div id="flex">
     24      <div style="position: absolute; height: 100px; background: green;"></div>
     25      <div style="background: green;">
     26        <div style="contain: size; height: 40px;"></div>
     27        <div style="contain: size; height: 100px; background: red;"></div>
     28      </div>
     29    </div>
     30  </div>
     31 </div>