Skip to content

Commit

Permalink
Add contain-intrinsic-size
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Jul 7, 2023
1 parent 0ae9316 commit bdf7972
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source
Expand Up @@ -129755,7 +129755,10 @@ iframe { border: 2px inset; }

<pre><code class="css">@namespace "http://www.w3.org/1999/xhtml";

<span id="img-contain-size">img:is([sizes="auto" i], [sizes^="auto," i]) { contain: size !important; }</span></code></pre>
<span id="img-contain-size">img:is([sizes="auto" i], [sizes^="auto," i]) {
contain: size !important;
contain-intrinsic-size: 300px 150px;
}</span></code></pre>

<p>The following CSS rules are expected to apply when the <code>Document</code> is in <span>quirks
mode</span>:</p>
Expand Down

0 comments on commit bdf7972

Please sign in to comment.