tor-browser

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

intrinsic-percent-replaced-006.html (628B)


      1 <!-- quirks mode -->
      2 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
      3 <meta name="assert" content="Checks that a replaced element, with an aspect ratio, converts a percent height into an intrinsic width." />
      4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      5 <style>
      6 #container { height: 100px; }
      7 #float { float: left; background: green; }
      8 canvas { height: 100%; }
      9 </style>
     10 <p style="margin-top: 1em;">Test passes if there is a filled green square.</p>
     11 <div id=container>
     12  <div id=float>
     13    <div>
     14      <canvas width=10 height=10></canvas>
     15    </div>
     16  </div>
     17 </div>