8000 Add new UA style rules for overflow changes; see w3c/csswg-drafts#7144 · tabatkins/html@16943c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16943c6

Browse files
authored
Add new UA style rules for overflow changes; see w3c/csswg-drafts#7144
1 parent 9af0600 commit 16943c6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

source

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120013,7 +120013,15 @@ legend[align=right i] {
120013120013
<pre><code class="css">@namespace url(http://www.w3.org/1999/xhtml);
120014120014

120015120015
iframe { border: 2px inset; }
120016-
<span id="video-object-fit">video { object-fit: contain; }</span></code></pre>
120016 753A +
<span id="video-object-fit">video { object-fit: contain; }</span>
120017+
img, video, canvas, svg:not(:root) {
120018+
overflow: clip;
120019+
overflow-clip-margin: content-box;
120020+
}
120021+
iframe, object, embed {
120022+
overflow: clip !important;
120023+
overflow-clip-margin: content-box !important;
120024+
}</code></pre>
120017120025

120018120026

120019120027
<h4>Images</h4>

0 commit comments

Comments
 (0)
0