tor-browser

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

contain-size-replaced-003-ref.html (1373B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Reference</title>
      4 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
      5 <link rel="author" href="https://mozilla.org" title="Mozilla">
      6 <style>
      7  video, audio, canvas, svg, img, embed, object, iframe {
      8    border: 3px solid teal;
      9    max-height: 0px;
     10    max-width: 0px;
     11    margin: 15px;
     12  }
     13 </style>
     14 <body>
     15  <!-- video element: -->
     16  <video></video>
     17  <video controls></video>
     18  <video poster="support/blue-100x100.png"></video>
     19  <video poster="support/blue-100x100.png" controls></video>
     20  <video src="support/white.webm" controls></video>
     21  <video src="support/white.webm" controls></video>
     22  <br>
     23 
     24  <!-- audio element with controls, and a few other misc replaced elements: -->
     25  <audio controls></audio>
     26  <canvas></canvas>
     27  <svg></svg>
     28  <br>
     29 
     30  <!-- image elements: -->
     31  <img src="broken">
     32  <img src="support/blue-100x100.png">
     33  <picture><source srcset="support/blue-100x100.png"><img></picture>
     34  <br>
     35 
     36  <!-- document-embedding elements (with & without a target resource that
     37       could provide an intrinsic ratio in some cases, in the absence of
     38       contain:size): -->
     39  <embed>
     40  <embed src="support/blue-100x100.png">
     41  <object></object>
     42  <object data="support/blue-100x100.png"></object>
     43  <iframe></iframe>
     44  <iframe src="support/blue-100x100.png"></iframe>
     45  <br>
     46 </body>