From f1d55770a1ac942ba901ea7d524c5978964652ec Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Tue, 28 Jun 2022 17:31:11 +0200 Subject: [PATCH] Remove 'being rendered to a visual medium'; only use the 'being rendered' definition --- source | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/source b/source index c37d19f56c1..6edb32126ab 100644 --- a/source +++ b/source @@ -28774,11 +28774,10 @@ interface HTMLImageElement : HTMLElement {

The IDL attributes width and height must return the rendered width and height of the - image, in CSS pixels, if the image is being rendered, and - is being rendered to a visual medium; or else the density-corrected intrinsic width and - height of the image, in CSS pixels, if the image has - intrinsic dimensions and is available but not being - rendered to a visual medium; or else 0, if the image is not CSS pixels, if the image is being rendered; or + else the density-corrected intrinsic width and height of the image, in CSS pixels, if the image has intrinsic dimensions and is available but is not being rendered; or else 0, if the image is not available or does not have intrinsic dimensions.

@@ -29770,10 +29769,9 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...The keyword auto means the rendered width of the associated img element, if any, in CSS pixels, if that is not 0px, and that - img element is being rendered, is being rendered to a visual medium, and - the img element's loading attribute is in the - Lazy state; otherwise, 100vw.

+ img element is being rendered, and the img element's loading attribute is in the Lazy state; otherwise, 100vw.

The auto keyword may be specified if the associated img element is not null, and @@ -47360,10 +47358,10 @@ interface HTMLInputElement : HTMLElement {

The IDL attributes width and height must return the rendered width and height of the - image, in CSS pixels, if an image is being rendered, and - is being rendered to a visual medium; or else the intrinsic - width and height of the image, in CSS pixels, if an image is available but not being rendered to a visual medium; or else 0, + image, in CSS pixels, if an image is being rendered; or + else the intrinsic width and height of the image, in + CSS pixels, if an image is available but not being rendered; or else 0, if no image is available. When the input element's type attribute is not in the Image Button state, then no image is