tor-browser

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

flex-minimum-height-flex-items-026.html (873B)


      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="Child in nested column flexbox's grows to its parent's flex height, not its parent's specified height.">
      6 <link href="support/flexbox.css" rel="stylesheet">
      7 
      8 <p>Test passes if there is a filled green square.</p>
      9 
     10 <div class="flexbox column" style="height: 100px;">
     11  <!-- min-height: auto resolves to 0 because content-size suggestion is 0. -->
     12  <div class="flexbox column" style="flex: 1 0 0px; height: 200px">
     13    <!-- min-height: auto resolves to 0 because content-size suggestion is 0. -->
     14    <div style="flex: 1 0 0px; width: 100px; background: green;"></div>
     15  </div>
     16 </div>