diff --git a/source b/source index d117fe5a9d7..041d6b26830 100644 --- a/source +++ b/source @@ -3641,6 +3641,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
The term intrinsic aspect + ratio is used as defined in CSS Image Values and Replaced Content to define + the sizing of replaced content.
+The term paint source is used as defined in CSS Image Values and Replaced Content to define the interaction of certain HTML elements with the CSS 'element()' @@ -115559,6 +115564,22 @@ input[type=image i][align=bottom i], object[align=bottom i] { property">map to the dimension properties 'width' and 'height' on the element respectively.
+The intrinsic aspect ratio for an img
element img is
+ computed as follows:
If img's current request is available and has an intrinsic aspect ratio, then + use that intrinsic aspect ratio.
If img's width
and height
attribute values, when parsed using the rules for
+ parsing dimension values, are both not an error, not a percentage, and non-zero, then use
+ the ratio resulting from dividing the width
attribute value
+ by the height
attribute value.
Otherwise, img has no intrinsic aspect ratio.