tor-browser

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

col-wrap-020.html (946B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#intrinsic-sizes">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      5 <meta name="assert"
      6  content="column-wrap container's max-content width includes gap" />
      7 
      8 <style>
      9  #reference-overlapped-red {
     10    position: absolute;
     11    background-color: red;
     12    width: 100px;
     13    height: 100px;
     14    z-index: -1;
     15  }
     16 
     17  .item {
     18    /* Remove min-height so we don't have to think about it. */
     19    min-height: 0px;
     20    width: 10px;
     21    flex: 0 0 100px;
     22  }
     23 </style>
     24 
     25 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     26 </p>
     27 
     28 <div id=reference-overlapped-red></div>
     29 
     30 <div
     31  style="display: flex; flex-flow: column wrap; height: 100px; width: max-content; column-gap: 80px; background: green;">
     32  <div class="item"></div>
     33  <div class="item"></div>
     34 </div>