tor-browser

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

single-line-row-flex-fragmentation-033.html (943B)


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