tor-browser

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

flex-minimum-size-003.html (1061B)


      1 <!doctype html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto">
      4 <link rel="help" href="https://crbug.com/1151608">
      5 <meta name="assert" content="automatic minimum size computation doesn't overflow when multiplying by the aspect ratio" />
      6 
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script src="/resources/check-layout-th.js"></script>
     10 
     11 <body onload="checkLayout('img')">
     12 
     13 <div id=log></div>
     14 
     15 <div style="display: flex; width: 300px;">
     16  <img src="data:image/svg+xml,%3Csvg viewBox='0 0 1 1' width='8000' height='8000' xmlns='http://www.w3.org/2000/svg' %3E%3C/svg%3E" data-expected-width=8000 style="height: 8000px;">
     17 </div>
     18 
     19 <div style="display: flex; flex-direction: column; height: 300px;">
     20  <img src="data:image/svg+xml,%3Csvg viewBox='0 0 1 1' width='8000' height='8000' xmlns='http://www.w3.org/2000/svg' %3E%3C/svg%3E" data-expected-height=8000 style="width: 8000px;">
     21 </div>
     22 
     23 </body>