From 9829f0e2719a725267aaa13f0da64740848e9930 Mon Sep 17 00:00:00 2001 From: Severn Everett Date: Fri, 17 May 2024 11:41:23 +0200 Subject: [PATCH] Added "auto" value for "dir" attribute --- buildSrc/src/main/resources/html_5.xsd | 1 + src/commonMain/kotlin/generated/gen-enums.kt | 3 ++- src/commonMain/kotlin/generated/gen-tags-s.kt | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/resources/html_5.xsd b/buildSrc/src/main/resources/html_5.xsd index f0434787..8319e888 100644 --- a/buildSrc/src/main/resources/html_5.xsd +++ b/buildSrc/src/main/resources/html_5.xsd @@ -94,6 +94,7 @@ + diff --git a/src/commonMain/kotlin/generated/gen-enums.kt b/src/commonMain/kotlin/generated/gen-enums.kt index 881a69f5..2e945f10 100644 --- a/src/commonMain/kotlin/generated/gen-enums.kt +++ b/src/commonMain/kotlin/generated/gen-enums.kt @@ -10,7 +10,8 @@ import kotlinx.html.* @Suppress("unused", "EnumEntryName") enum class Dir(override val realValue : String) : AttributeEnum { ltr("ltr"), - rtl("rtl") + rtl("rtl"), + auto("auto") } internal val dirValues : Map = Dir.entries.associateBy { it.realValue } diff --git a/src/commonMain/kotlin/generated/gen-tags-s.kt b/src/commonMain/kotlin/generated/gen-tags-s.kt index 6595f7b4..36379af2 100644 --- a/src/commonMain/kotlin/generated/gen-tags-s.kt +++ b/src/commonMain/kotlin/generated/gen-tags-s.kt @@ -214,8 +214,8 @@ open class SOURCE(initialAttributes : Map, override val consumer set(newValue) {attributeStringString[this, "src"] = newValue} var srcset : String - get() = attributeStringString.get(this, "srcset") - set(newValue) {attributeStringString.set(this, "srcset", newValue)} + get() = attributeStringString[this, "srcset"] + set(newValue) {attributeStringString[this, "srcset"] = newValue} var type : String get() = attributeStringString[this, "type"]