tor-browser

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

multi-line-row-flex-fragmentation-066.html (1067B)


      1 <!DOCTYPE html>
      2 <title>
      3  Multi-line row flex fragmentation: tall content inside constrained block.
      4 </title>
      5 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/6056#issuecomment-951767882">
      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-wrap: wrap;
     12    height: 25px;
     13    background: red;
     14  }
     15  #flex > div {
     16    width: 100%;
     17    background: green;
     18    contain: size;
     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; background:red;">
     23  <div style="columns:2; column-fill:auto; column-gap:0; height:100px;">
     24    <div style="height:50px; background:green;"></div>
     25    <div id="flex">
     26      <div style="height:150px; position:relative;">
     27        <div style="position:absolute; top:50px; height:100px; width:100%; background:white;"></div>
     28      </div>
     29      <div style="height:100px;"></div>
     30    </div>
     31  </div>
     32 </div>