diff --git a/source b/source index 2535acfc..8e7e9b7d 100644 --- a/source +++ b/source @@ -1972,6 +1972,7 @@ interface HTMLImageElement : HTMLElement {
User agents are encouraged to run this algorithm in particular when the user changes the viewport's size
(e.g. by resizing the window or changing the page zoom),
+ and when an img
element is inserted into a document,
so that the density-corrected intrinsic width and height match the new viewport,
and so that the correct image is chosen when art direction is involved.
⌛ If the img
element does not have a
srcset
attribute specified and
it either has no parent or it is not a picture
element,
+ it is not in a Document
,
has image data whose resource type is multipart/x-mixed-replace
,
or the pending request is not null,
then abort this algorithm.