tor-browser

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

flex-aspect-ratio-img-column-005.html (650B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Google LLC" href="http://www.google.com" />
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#line-sizing" />
      4 <title>css-flexbox: Tests that we use the aspect ratio, clamped by min/max, to compute the main size</title>
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
      6 
      7 <style>
      8 .flex {
      9  display: flex;
     10  width: 100px;
     11  flex-direction: column;
     12 }
     13 
     14 img {
     15  max-width: 100%;
     16  width: 500px;
     17  min-height: 0;
     18 }
     19 </style>
     20 
     21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     22 
     23 <div class="flex">
     24      <img src="support/100x100-green.png">
     25 </div>