tor-browser

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

calc-size-flex-005.html (639B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size">
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#min-size-auto">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      5 <p>Test passes if there is a filled green square.</p>
      6 <div style="display: flex; flex-direction: column; height: 0px; width: 100px;">
      7  <!-- The auto min-size is 60px (the specified-size suggestion), then through the calc-size() is 100px. -->
      8  <div style="min-height: calc-size(auto, size + 40px); height: 60px; background: green;">
      9    <div style="height: 80px;"></div>
     10  </div>
     11 </div>