tor-browser

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

gap-014.html (923B)


      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/#main-alignment">
      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" content="There are gaps between 0-main-size items" />
      8 
      9 <style>
     10 .item {
     11  height: 10px;
     12  flex: 0 0 auto;
     13 }
     14 #reference-overlapped-red {
     15  position: absolute;
     16  background-color: red;
     17  width: 100px;
     18  height: 100px;
     19  z-index: -1;
     20 }
     21 </style>
     22 
     23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     24 
     25 <div id=reference-overlapped-red></div>
     26 
     27 <div style="display: flex; width: 100px; row-gap: 40px; background: green; flex-direction: column;">
     28  <div class=item></div>
     29  <div class=item style="height: 0px"></div>
     30  <div class=item></div>
     31 </div>