Skip to content

Commit

Permalink
Make 'auto' actually use the concrete object size ignoring natural di…
Browse files Browse the repository at this point in the history
…mensions width
  • Loading branch information
zcorpan committed Aug 11, 2022
1 parent 52283dc commit 74854c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -29016,12 +29016,12 @@ was an English &lt;a href="/wiki/Music_hall">music hall&lt;/a> singer, ...</code
<p>A <span>&lt;source-size-value></span> that is a <span>&lt;length></span> must not be negative,
and must not use CSS functions other than the <span>math functions</span>.</p>

<p>The keyword <dfn data-x="valdef-sizes-auto">auto</dfn> means the rendered width of the
<code>img</code> element that initiated the image loading (with the <span>update the image
data</span> or <span data-x="img-environment-changes">react to environment changes</span>
algorithms), if any, in <span data-x="'px'">CSS pixels</span>, if that <code>img</code> element is
<span>being rendered</span>, and the element's <span>concrete object size ignoring natural
dimensions</span> width is not zero, and the <code>img</code> element's <code
<p>The keyword <dfn data-x="valdef-sizes-auto">auto</dfn> means the <span>concrete object size
ignoring natural dimensions</span> width of the <code>img</code> element that initiated the image
loading (with the <span>update the image data</span> or <span
data-x="img-environment-changes">react to environment changes</span> algorithms), if any, in <span
data-x="'px'">CSS pixels</span>, if that is not zero, and that <code>img</code> element is
<span>being rendered</span>, and the <code>img</code> element's <code
data-x="attr-img-loading">loading</code> attribute is in the <span
data-x="attr-loading-lazy-state">Lazy</span> state; otherwise, <code
data-x="">100vw</code>.</p>
Expand Down

0 comments on commit 74854c8

Please sign in to comment.