tor-browser

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

flex-aspect-ratio-035.html (684B)


      1 <!DOCTYPE html>
      2 <title>aspect-ratio flex item</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item"
      4  title="Part E">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
      6 <meta name="assert"
      7  content="max-content, not max-intrinsic, size is the flex base size of an aspect-ratio item that has an indefinite flex-basis and cross size">
      8 
      9 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     10 </p>
     11 
     12 <div
     13  style="display: flex; flex-flow: column; align-items: start; width: 0px;">
     14  <div
     15    style="aspect-ratio: 1/1; flex: 0 0 auto; min-height: 0px; min-width: 100px; background: green;">
     16  </div>
     17 </div>