@@ -29384,13 +29384,16 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
29384
29384
any previous sibling <code>source</code> elements' <code data-x="attr-source-srcset">srcset</code>
29385
29385
attributes if the parent is a <code>picture</code> element, is the embedded content; the value of
29386
29386
the <dfn element-attr for="img" data-x="attr-img-alt"><code>alt</code></dfn> attribute provides
29387
- equivalent content for those who cannot process images or who have image loading disabled (i.e. it
29388
- is the <code>img</code> element's <span>fallback content</span>).</p>
29387
+ equivalent content for those who cannot process images or who have image loading disabled (i.e.,
29388
+ it is the <code>img</code> element's <span>fallback content</span>).</p>
29389
29389
29390
29390
<p>The requirements on the <code data-x="attr-img-alt">alt</code> attribute's value are described
29391
29391
<a href="#alt">in a separate section</a>.</p>
29392
29392
29393
- <p>The <code data-x="attr-img-src">src</code> attribute must be present, and must contain a
29393
+ <p>At least one of the <code data-x="attr-img-src">src</code> and <code
29394
+ data-x="attr-img-srcset">srcset</code> attributes must be present.</p>
29395
+
29396
+ <p>If the <code data-x="attr-img-src">src</code> attribute is present, it must contain a
29394
29397
<span>valid non-empty URL potentially surrounded by spaces</span> referencing a non-interactive,
29395
29398
optionally animated, image resource that is neither paged nor scripted.</p>
29396
29399
@@ -29400,10 +29403,10 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
29400
29403
<span>document element</span> that use declarative SMIL animation), and so forth. However, these
29401
29404
definitions preclude SVG files with script, multipage PDF files, interactive MNG files, HTML
29402
29405
documents, plain text documents, and the like. <ref>PNG</ref> <ref>GIF</ref> <ref>JPEG</ref>
29403
- <ref>PDF</ref> <ref>XML</ref> <ref>APNG</ref> <ref>SVG</ref> <ref>MNG</ref> </p>
29406
+ <ref>PDF</ref> <ref>XML</ref> <ref>APNG</ref> <ref>SVG</ref> <ref>MNG</ref></p>
29404
29407
29405
- <p>The <code data-x="attr-img-srcset">srcset</code> attribute may also be present, and is a
29406
- <span>srcset attribute</span>.</p>
29408
+ <p>The <code data-x="attr-img-srcset">srcset</code> attribute is a <span>srcset
29409
+ attribute</span>.</p>
29407
29410
29408
29411
<p>The <code data-x="attr-img-srcset">srcset</code> attribute and the <code
29409
29412
data-x="attr-img-src">src</code> attribute (if <span data-x="width descriptor">width
0 commit comments