tor-browser

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

col-wrap-014.html (839B)


      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 
      6 <meta name="assert"
      7  content="The second item contributes 25px width due to max-width, not 75px, even though the available size for the second item is 75px." />
      8 
      9 <style>
     10  .item {
     11    flex: 0 0 100px;
     12    min-height: 0px;
     13  }
     14 
     15 </style>
     16 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     17 
     18 <div
     19  style="display: flex; flex-flow: column wrap; width: max-content; height: 100px; background: green;">
     20  <div class="item">
     21    <div style="width: 75px;"></div>
     22  </div>
     23  <div class="item" style="max-width: 25px;">
     24    <div style="width: 50px;"></div>
     25  </div>
     26 </div>