From 3115b793938ce804f51a684bb86d1254d57872d0 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren optional in presence of srcset
Fixes #9181.
---
source | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/source b/source
index 928c02ee63a..a4fb7f05af4 100644
--- a/source
+++ b/source
@@ -29384,13 +29384,16 @@ interface HTMLImageElement : HTMLElement {
any previous sibling
source elements' srcset
attributes if the parent is a picture element, is the embedded content; the value of
the alt attribute provides
- equivalent content for those who cannot process images or who have image loading disabled (i.e. it
- is the img element's fallback content).
img element's fallback content).
The requirements on the alt attribute's value are described
in a separate section.
The src attribute must be present, and must contain a
+
At least one of the src and srcset attributes must be present.
If the src attribute is present, it must contain a
valid non-empty URL potentially surrounded by spaces referencing a non-interactive,
optionally animated, image resource that is neither paged nor scripted.
The srcset attribute may also be present, and is a
+
If the srcset attribute is present, it must be a
srcset attribute.
The srcset attribute and the
Date: Mon, 12 May 2025 17:44:08 +0200
Subject: [PATCH 2/2] Update source
---
source | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source b/source
index a4fb7f05af4..8fea6638c0b 100644
--- a/source
+++ b/source
@@ -29405,8 +29405,8 @@ interface HTMLImageElement : HTMLElement {
documents, plain text documents, and the like. PNG GIF JPEG
PDF XML APNG SVG MNG
If the srcset attribute is present, it must be a
- srcset attribute.
The srcset attribute is a srcset
+ attribute.
The srcset attribute and the src attribute (if width