From 1688ce9fad7cbd2a5db6a6bd7af376e2633cc106 Mon Sep 17 00:00:00 2001 From: Severn Everett Date: Thu, 16 May 2024 10:27:55 +0200 Subject: [PATCH] Added srcset attribute to "source" tag --- buildSrc/src/main/resources/html_5.xsd | 1 + src/commonMain/kotlin/generated/gen-tags-s.kt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/buildSrc/src/main/resources/html_5.xsd b/buildSrc/src/main/resources/html_5.xsd index e4d463e1..f0434787 100644 --- a/buildSrc/src/main/resources/html_5.xsd +++ b/buildSrc/src/main/resources/html_5.xsd @@ -1217,6 +1217,7 @@ + diff --git a/src/commonMain/kotlin/generated/gen-tags-s.kt b/src/commonMain/kotlin/generated/gen-tags-s.kt index 6be14c8d..b49d43f6 100644 --- a/src/commonMain/kotlin/generated/gen-tags-s.kt +++ b/src/commonMain/kotlin/generated/gen-tags-s.kt @@ -208,6 +208,10 @@ open class SOURCE(initialAttributes : Map, override val consumer get() = attributeStringString.get(this, "src") set(newValue) {attributeStringString.set(this, "src", newValue)} + var srcset : String + get() = attributeStringString.get(this, "srcset") + set(newValue) {attributeStringString.set(this, "srcset", newValue)} + var type : String get() = attributeStringString.get(this, "type") set(newValue) {attributeStringString.set(this, "type", newValue)}