tor-browser

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

flex-minimum-size-002.html (848B)


      1 <!DOCTYPE html>
      2 <title>CSS Flexbox: min-size when the child has a percentage min-size</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item">
      4 <meta name="assert" content="This test ensures that min-size can not be negative when the child has a percentage min-size.">
      5 <link href="support/flexbox.css" rel="stylesheet">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="/resources/check-layout-th.js"></script>
      9 <body onload="checkLayout('.flexbox')">
     10 <div id=log></div>
     11 
     12 <div class="flexbox column" style="max-height: 0; overflow: hidden; line-height: 13px;" data-expected-height="0">
     13    <div style="min-height: 100%;" data-expected-height="0">This is a flex item.</div>
     14    <div style="flex: none;" data-expected-height="13">Inflexible</div>
     15 </div>