tor-browser

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

replaced-element-003.html (716B)


      1 <!DOCTYPE html>
      2 <title>CSS aspect-ratio: video</title>
      3 <link rel="author" title="Google LLC" href="https://www.google.com/">
      4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
      6 <!-- The pixel values from the video can be slightly different; allow for
      7     fuzzy matching. -->
      8 <meta name="fuzzy" content="0-30;0-5000">
      9 
     10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     11 
     12 <div>
     13  <video src="support/2x2-green.webm" style="background: green; width: 100px; aspect-ratio: 2/1; vertical-align: bottom;"></video>
     14 </div>
     15 <div style="width: 100px; height: 50px; background: green;"></div>