tor-browser

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

contain-size-replaced-007.html (738B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Containment Test: Size containment replaced elements intrinsic size</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
      5 <link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#attributes-for-embedded-content-and-images">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <meta name=assert content="This test checks that an aspect ratio computed from width and height attributes is used even with contain: size.">
      8 
      9 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     10 <img src="support/60x60-green.png" width="60" height="60" style="width: 100px; height: auto; contain: size;">