tor-browser

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

multi-line-column-flex-fragmentation-045.html (1158B)


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