tor-browser

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

stretch-obeys-min-max-003.html (773B)


      1 <!DOCTYPE html>
      2 <title>item's min/max cross sizes</title>
      3 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes" title="Bullet 1">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      6 <meta name="assert" content="specified min cross size on stretched items is honored pre-flexing" />
      7 
      8 <style>
      9 .inline-block {
     10  display: inline-block;
     11  width: 1px;
     12  height: 100px;
     13 }
     14 
     15 </style>
     16 
     17 <p>Test passes if there is a filled green square.</p>
     18 
     19 <div style="display:flex; flex-direction: column; width: 0px;">
     20  <div style="background: green; min-width: 100px; line-height: 0px;">
     21    <div class=inline-block></div><div class=inline-block></div>
     22  </div>
     23 </div>