srcSet attribute of source tag
wakingrufus opened this issue · 2 comments
wakingrufus commented
It looks like the DSL is missing the srcSet attribute of the source tag
wakingrufus commented
i think instead of
@Suppress("unused")
open class SOURCE(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("source", consumer, initialAttributes, null, true, true), CommonAttributeGroupFacade {
var src : String
get() = attributeStringString.get(this, "src")
set(newValue) {attributeStringString.set(this, "src", newValue)}
var type : String
get() = attributeStringString.get(this, "type")
set(newValue) {attributeStringString.set(this, "type", newValue)}
var media : String
get() = attributeStringString.get(this, "media")
set(newValue) {attributeStringString.set(this, "media", newValue)}
}
the source tag should look like
@Suppress("unused")
open class SOURCE(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("source", consumer, initialAttributes, null, true, true), CommonAttributeGroupFacade {
var src : String
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)}
var media : String
get() = attributeStringString.get(this, "media")
set(newValue) {attributeStringString.set(this, "media", newValue)}
}
wakingrufus commented
this attribute is only valid for <source>
tags within <picture>
tags