tor-browser

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

overflow-replaced-element-002.html (932B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#overflow-control">
      4 <link rel="author" title="Kenzie Raditya Tirtarahardja" href="mailto:kenzieradityatirtarahardja.18@gmail.com">
      5 <link rel="match" href="overflow-replaced-element-002-ref.html">
      6 <meta name="fuzzy" content="maxDifference=0-6;totalPixels=0-2">
      7 <title> Host languages should define UA style sheet rules that apply a default value of clip to replaced elements and set their overflow-clip-margin to content-box.</title>
      8 <style>
      9  img, iframe, video, embed {
     10    border: 4px solid red;
     11    border-radius: 30px;
     12    width: 400px;
     13    height: 300px;
     14  }
     15 </style>
     16 <iframe srcdoc="&lt;style&gt; html { background-color: green; } &lt;style&gt;"></iframe>
     17 <img src="/media/1x1-green.png" />
     18 <video controls>
     19  <source src="/media/2x2-green.mp4" type=video/mp4">
     20 </video>
     21 <embed type="image/png" src="/media/1x1-green.png"/>