tor-browser

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

contain-size-replaced-005-ref.html (609B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Containment Reference: Size containment replaced elements intrinsic size</title>
      4 <style>
      5  body > div, video, audio, img, canvas, svg, iframe {
      6    position: absolute;
      7    border: 3px solid orange;
      8    contain: size;
      9    margin-bottom: 15px;
     10    width: 0px;
     11    height: 0px;
     12    float: left;
     13    clear: both;
     14  }
     15 </style>
     16 <div>abc</div>
     17 <video></video><br>
     18 <video controls></video><br>
     19 <img src="support/60x60-green.png"><br>
     20 <picture>
     21 <source srcset="support/60x60-green.png">
     22    <img>
     23 </picture><br>
     24 <canvas></canvas><br>
     25 <svg></svg><br>
     26 <iframe></iframe>