tor-browser

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

aspect-ratio-005.html (668B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-grid-1/#algo-overview">
      3 <meta name="assert" content="An element with an aspect-ratio resolves its percentage against the definite row and the track sizes get updated.">
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      5 <style>
      6    body { overflow: hidden; }
      7 </style>
      8 <p>Test passes if there is a filled green square.</p>
      9 <div style="display: inline-grid; grid-template-rows: 50px 50px; background: red; height: 100px;">
     10  <div style="grid-row: 1; background: green; aspect-ratio: 2/1; height: 100%;"></div>
     11  <div style="grid-row: 2; background: green;"></div>
     12 </div>