tor-browser

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

contain-size-013.html (728B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Containment Test: Size containment replaced elements intrinsic size</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <meta name=assert content="This test checks that intrinsic size of replaced elements with 'contain: size' is zero.">
      8 <style>
      9 img {
     10  background: green;
     11  padding: 50px;
     12  contain: size;
     13 }
     14 </style>
     15 
     16 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     17 <img src="/css/support/60x60-red.png" alt="Image download support must be enabled" />