From f1d55770a1ac942ba901ea7d524c5978964652ec Mon Sep 17 00:00:00 2001
From: Simon Pieters 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. 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