tor-browser

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

block-aspect-ratio-035.html (643B)


      1 <!DOCTYPE html>
      2 <title>CSS aspect-ratio: div block size + min-height: auto</title>
      3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      5 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      7 
      8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      9 <div style="background: green; box-sizing: border-box; aspect-ratio: 2/1;
     10            width: 100px; border: 10px solid green; padding: 10px;">
     11  <div style="height: 60px"></div>
     12 </div>