tor-browser

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

flex-aspect-ratio-036.html (673B)


      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 style="display: flex; flex-flow: column; align-items: start;">
     13  <div
     14    style="aspect-ratio: 1/1; flex: 0 0 content; min-height: 0px; min-width: 100px; background: green;">
     15  </div>
     16 </div>