diff --git a/buildSrc/src/main/resources/html_5.xsd b/buildSrc/src/main/resources/html_5.xsd index 8c4373aa..e4d463e1 100644 --- a/buildSrc/src/main/resources/html_5.xsd +++ b/buildSrc/src/main/resources/html_5.xsd @@ -1796,7 +1796,7 @@ - + diff --git a/src/commonMain/kotlin/generated/gen-attributes.kt b/src/commonMain/kotlin/generated/gen-attributes.kt index 3bd039d2..8e32f7ea 100644 --- a/src/commonMain/kotlin/generated/gen-attributes.kt +++ b/src/commonMain/kotlin/generated/gen-attributes.kt @@ -20,6 +20,8 @@ internal val attributeBooleanTicker : Attribute = TickerAttribute() internal val attributeAReferrerPolicyEnumAReferrerPolicyValues : Attribute = EnumAttribute(aReferrerPolicyValues) +internal val attributeAreaShapeEnumAreaShapeValues : Attribute = EnumAttribute(areaShapeValues) + internal val attributeButtonFormEncTypeEnumButtonFormEncTypeValues : Attribute = EnumAttribute(buttonFormEncTypeValues) internal val attributeButtonFormMethodEnumButtonFormMethodValues : Attribute = EnumAttribute(buttonFormMethodValues) diff --git a/src/commonMain/kotlin/generated/gen-consumer-tags.kt b/src/commonMain/kotlin/generated/gen-consumer-tags.kt index 0c9bc079..514ffb00 100644 --- a/src/commonMain/kotlin/generated/gen-consumer-tags.kt +++ b/src/commonMain/kotlin/generated/gen-consumer-tags.kt @@ -202,7 +202,7 @@ public inline fun > C.area( crossinline block: AREA.() -> Unit = {}, ): T { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - return AREA(attributesMapOf("Shape", shape?.enumEncode(),"alt", alt,"class", classes), this) + return AREA(attributesMapOf("shape", shape?.enumEncode(),"alt", alt,"class", classes), this) .visitAndFinalize(this, block) } diff --git a/src/commonMain/kotlin/generated/gen-tag-unions.kt b/src/commonMain/kotlin/generated/gen-tag-unions.kt index 61f7d9ef..f78a15dc 100644 --- a/src/commonMain/kotlin/generated/gen-tag-unions.kt +++ b/src/commonMain/kotlin/generated/gen-tag-unions.kt @@ -312,31 +312,31 @@ inline fun FlowOrPhrasingContent.abbr(classes : String? = null, crossinline bloc @OptIn(ExperimentalContracts::class) inline fun FlowOrPhrasingContent.area(shape : AreaShape? = null, alt : String? = null, classes : String? = null, crossinline block : AREA.() -> Unit = {}) : Unit { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - AREA(attributesMapOf("Shape", shape?.enumEncode(),"alt", alt,"class", classes), consumer).visit(block) + AREA(attributesMapOf("shape", shape?.enumEncode(),"alt", alt,"class", classes), consumer).visit(block) } @HtmlTagMarker @OptIn(ExperimentalContracts::class) inline fun FlowOrPhrasingContent.rectArea(alt : String? = null, classes : String? = null, crossinline block : AREA.() -> Unit = {}) : Unit { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - AREA(attributesMapOf("Shape", AreaShape.rect.realValue,"alt", alt,"class", classes), consumer).visit(block) + AREA(attributesMapOf("shape", AreaShape.rect.realValue,"alt", alt,"class", classes), consumer).visit(block) } @HtmlTagMarker @OptIn(ExperimentalContracts::class) inline fun FlowOrPhrasingContent.circleArea(alt : String? = null, classes : String? = null, crossinline block : AREA.() -> Unit = {}) : Unit { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - AREA(attributesMapOf("Shape", AreaShape.circle.realValue,"alt", alt,"class", classes), consumer).visit(block) + AREA(attributesMapOf("shape", AreaShape.circle.realValue,"alt", alt,"class", classes), consumer).visit(block) } @HtmlTagMarker @OptIn(ExperimentalContracts::class) inline fun FlowOrPhrasingContent.polyArea(alt : String? = null, classes : String? = null, crossinline block : AREA.() -> Unit = {}) : Unit { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - AREA(attributesMapOf("Shape", AreaShape.poly.realValue,"alt", alt,"class", classes), consumer).visit(block) + AREA(attributesMapOf("shape", AreaShape.poly.realValue,"alt", alt,"class", classes), consumer).visit(block) } @HtmlTagMarker @OptIn(ExperimentalContracts::class) inline fun FlowOrPhrasingContent.defaultArea(alt : String? = null, classes : String? = null, crossinline block : AREA.() -> Unit = {}) : Unit { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - AREA(attributesMapOf("Shape", AreaShape.default.realValue,"alt", alt,"class", classes), consumer).visit(block) + AREA(attributesMapOf("shape", AreaShape.default.realValue,"alt", alt,"class", classes), consumer).visit(block) } /** diff --git a/src/commonMain/kotlin/generated/gen-tags-a.kt b/src/commonMain/kotlin/generated/gen-tags-a.kt index 54fb403e..bc67fccd 100644 --- a/src/commonMain/kotlin/generated/gen-tags-a.kt +++ b/src/commonMain/kotlin/generated/gen-tags-a.kt @@ -80,6 +80,10 @@ open class ADDRESS(initialAttributes : Map, override val consume @Suppress("unused") open class AREA(initialAttributes : Map, override val consumer : TagConsumer<*>) : HTMLTag("area", consumer, initialAttributes, null, true, true), HtmlBlockInlineTag { + var shape : AreaShape + get() = attributeAreaShapeEnumAreaShapeValues.get(this, "shape") + set(newValue) {attributeAreaShapeEnumAreaShapeValues.set(this, "shape", newValue)} + var coords : String get() = attributeStringString.get(this, "coords") set(newValue) {attributeStringString.set(this, "coords", newValue)} diff --git a/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt b/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt index 0bee8a47..cfa60235 100644 --- a/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt +++ b/src/jsMain/kotlin/generated/gen-consumer-tags-js.kt @@ -254,7 +254,7 @@ public inline fun TagConsumer.area( crossinline block: AREA.() -> Unit = {}, ): HTMLAreaElement { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - return AREA(attributesMapOf("Shape", shape?.enumEncode(),"alt", alt,"class", classes), this) + return AREA(attributesMapOf("shape", shape?.enumEncode(),"alt", alt,"class", classes), this) .visitAndFinalize(this, block) as HTMLAreaElement } diff --git a/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt b/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt index 6b9e9391..f5f52074 100644 --- a/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt +++ b/src/wasmJsMain/kotlin/generated/gen-consumer-tags-wasm-js.kt @@ -254,7 +254,7 @@ public inline fun TagConsumer.area( crossinline block: AREA.() -> Unit = {}, ): HTMLAreaElement { contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) } - return AREA(attributesMapOf("Shape", shape?.enumEncode(),"alt", alt,"class", classes), this) + return AREA(attributesMapOf("shape", shape?.enumEncode(),"alt", alt,"class", classes), this) .visitAndFinalize(this, block) as HTMLAreaElement }