File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1972,6 +1972,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
1972
1972
1973
1973
<p class=note>User agents are encouraged to run this algorithm in particular when the user changes the viewport's size
1974
1974
(e.g. by resizing the window or changing the page zoom),
1975
+ and when an <code>img</code> element is <span>inserted into a document</span>,
1975
1976
so that the <span>density-corrected intrinsic width and height</span> match the new viewport,
1976
1977
and so that the correct image is chosen when <span>art direction</span> is involved.</p>
1977
1978
@@ -1985,6 +1986,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
1985
1986
<li><p>⌛ If the <code>img</code> element does not have a
1986
1987
<code data-x="attr-img-srcset">srcset</code> attribute specified and
1987
1988
it either has no parent or it is not a <code>picture</code> element,
1989
+ it is not <span>in a <code>Document</code></span>,
1988
1990
has image data whose resource type is <code>multipart/x-mixed-replace</code>,
1989
1991
or the <span>pending request</span> is not null,
1990
1992
then abort this algorithm.</p></li>
You can’t perform that action at this time.
0 commit comments