Bump version to 1.2.7, add TestSvg for testing SVG rendering, and remove redundant class attribute handling in ElementExtensions.
Some checks failed
Gradle CI / build (push) Has been cancelled
Some checks failed
Gradle CI / build (push) Has been cancelled
This commit is contained in:
@@ -84,8 +84,6 @@ internal fun Element.setKompAttribute(attributeName: String, value: String?) {
|
||||
removeAttribute(attributeName)
|
||||
}
|
||||
}
|
||||
} else if (attributeName == "class") {
|
||||
className = ""
|
||||
} else {
|
||||
removeAttribute(attributeName)
|
||||
}
|
||||
@@ -105,8 +103,6 @@ internal fun Element.setKompAttribute(attributeName: String, value: String?) {
|
||||
setAttribute(attributeName, value)
|
||||
}
|
||||
}
|
||||
} else if (attributeName == "class") {
|
||||
className = value
|
||||
} else if (this.getAttribute(attributeName) != value) {
|
||||
setAttribute(attributeName, value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user