tor-browser

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

video-default-object-height-constrained-by-max-width.html (729B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta name="assert" content="Video that has no intrinsic size should have height constrained by max-width">
      5 <link rel="help" href="https://w3c.github.io/csswg-drafts/css-sizing-4/#aspect-ratio-size-transfers">
      6 <link author="Sammy Gill" href="mailto:sammy.gill@apple.com">
      7 <link rel="match" href="/css/reference/ref-filled-green-100px-square.xht">
      8 <style>
      9  video {
     10    background-color: green;
     11    width: auto;
     12    height: auto;
     13    max-width: 100px;
     14  }
     15 </style>
     16 </head>
     17 <!-- aspect-ratio should be set to: auto 100 / 100-->
     18 <body>
     19 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     20 <video width="100" height="100" src="/css/support/60x60-green.png">
     21 </body>
     22 </html>