tor-browser

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

flex-minimum-height-flex-items-029.html (1043B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="dgrogan@chromium.org" href="mailto:dgrogan@chromium.org" />
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto" />
      4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html" />
      5 <meta name="assert" content="Inner column flexbox doesn't wrap its items because its min-size reported to the outer flexbox accommated the sum of the items' intrinsic block sizes.">
      6 
      7 <p>Test passes if there is a filled green square.</p>
      8 
      9 <div style="display: flex; flex-direction: column;">
     10  <!-- min-height is min(100, 500) = 100 -->
     11  <!-- Final height is 100px. -->
     12  <div style="display: flex; flex-direction: column; flex-wrap: wrap; flex: 1 0 0px; height: 500px">
     13    <!-- min-height is 50 -->
     14    <div style="flex: 1 0 0px; width: 100px; background: green;">
     15      <div style="height: 50px;"></div>
     16    </div>
     17    <!-- min-height is 50 -->
     18    <div style="flex: 1 0 0px; width: 100px; background: green;">
     19      <div style="height: 50px;"></div>
     20    </div>
     21  </div>
     22 </div>