tor-browser

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

gap-019.html (931B)


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