tor-browser

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

overflow-replaced-element-002-ref.html (862B)


      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 <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>
      6 <style>
      7  img, iframe, video, embed {
      8    border: 4px solid red;
      9    border-radius: 30px;
     10    width: 400px;
     11    height: 300px;
     12    overflow: clip;
     13    overflow-clip-margin: content-box;
     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"/>