Skip to content

Commit

Permalink
Remove 'being rendered to a visual medium'; only use the 'being rende…
Browse files Browse the repository at this point in the history
…red' definition
  • Loading branch information
zcorpan committed Jun 28, 2022
1 parent 310b57b commit f1d5577
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -28774,11 +28774,10 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
<p>The IDL attributes <dfn attribute for="HTMLImageElement"
data-x="dom-img-width"><code>width</code></dfn> and <dfn attribute for="HTMLImageElement"
data-x="dom-img-height"><code>height</code></dfn> must return the rendered width and height of the
image, in <span data-x="'px'">CSS pixels</span>, if the image is <span>being rendered</span>, and
is being rendered to a visual medium; or else the <span>density-corrected intrinsic width and
height</span> of the image, in <span data-x="'px'">CSS pixels</span>, if the image has
<span>intrinsic dimensions</span> and is <i data-x="img-available">available</i> but not being
rendered to a visual medium; or else 0, if the image is not <i
image, in <span data-x="'px'">CSS pixels</span>, if the image is <span>being rendered</span>; or
else the <span>density-corrected intrinsic width and height</span> of the image, in <span
data-x="'px'">CSS pixels</span>, if the image has <span>intrinsic dimensions</span> and is <i
data-x="img-available">available</i> but is not <span>being rendered</span>; or else 0, if the image is not <i
data-x="img-available">available</i> or does not have <span>intrinsic dimensions</span>. <ref
spec=CSS></p>

Expand Down Expand Up @@ -29770,10 +29769,9 @@ was an English &lt;a href="/wiki/Music_hall">music hall&lt;/a> singer, ...</code
<p>The keyword <dfn data-x="valdef-sizes-auto">auto</dfn> means the rendered width of the <span
data-x="concept-sizes-associated-img">associated</span> <code>img</code> element, if any, in <span
data-x="'px'">CSS pixels</span>, if that is not <code data-x="">0px</code>, and that
<code>img</code> element is <span>being rendered</span>, is being rendered to a visual medium, 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>
<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>

<p>The <span data-x="valdef-sizes-auto">auto</span> keyword may be specified if the <span
data-x="concept-sizes-associated-img">associated</span> <code>img</code> element is not null, and
Expand Down Expand Up @@ -47360,10 +47358,10 @@ interface <dfn interface>HTMLInputElement</dfn> : <span>HTMLElement</span> {
<p>The IDL attributes <dfn attribute for="HTMLInputElement"><code
data-x="dom-input-width">width</code></dfn> and <dfn attribute for="HTMLInputElement"><code
data-x="dom-input-height">height</code></dfn> must return the rendered width and height of the
image, in <span data-x="'px'">CSS pixels</span>, if an image is <span>being rendered</span>, and
is being rendered to a visual medium; or else the <span data-x="intrinsic dimensions">intrinsic
width and height</span> of the image, in <span data-x="'px'">CSS pixels</span>, if an image is <i
data-x="input-img-available">available</i> but not being rendered to a visual medium; or else 0,
image, in <span data-x="'px'">CSS pixels</span>, if an image is <span>being rendered</span>; or
else the <span data-x="intrinsic dimensions">intrinsic width and height</span> of the image, in
<span data-x="'px'">CSS pixels</span>, if an image is <i
data-x="input-img-available">available</i> but not <span>being rendered</span>; or else 0,
if no image is <i data-x="input-img-available">available</i>. When the <code>input</code>
element's <code data-x="attr-input-type">type</code> attribute is not in the <span
data-x="attr-input-type-image">Image Button</span> state, then no image is <i
Expand Down

0 comments on commit f1d5577

Please sign in to comment.