tor-browser

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

row-wrap-002.tentative.html (943B)


      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="containers with min-content > max-content increase max-content to match min-content" />
      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 </style>
     17 
     18 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     19 </p>
     20 
     21 <div id=reference-overlapped-red></div>
     22 
     23 <!-- Safari 16.4 and Chrome 116 make this container 100px wide. Firefox 114 makes it 90px. -->
     24 <div style="display: flex; flex-wrap: wrap; width: max-content; height: 100px;
     25  background: green;">
     26  <div style="width: 100px;"></div>
     27  <div style="width: 0px; margin-left: -10px;"></div>
     28 </div>