tor-browser

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

intrinsic-percent-replaced-001.html (528B)


      1 <!DOCTYPE html>
      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 #float { float: left; height: 100px; background: green; }
      7 canvas { height: 100%; }
      8 </style>
      9 <p>Test passes if there is a filled green square.</p>
     10 <div id=float>
     11  <canvas width=10 height=10></canvas>
     12 </div>