|
|
|
@ -36,9 +36,7 @@ fun StyleSheet.insertRule(cssRule: String, index: Int? = null): Int {
|
|
|
|
|
val ElementCSSInlineStyle.attributeStyleMap |
|
|
|
|
get() = this.asDynamic().attributeStyleMap.unsafeCast<StylePropertyMap>() |
|
|
|
|
|
|
|
|
|
external interface CSSStyleValue { |
|
|
|
|
// toString() : string |
|
|
|
|
} |
|
|
|
|
external interface CSSStyleValue |
|
|
|
|
|
|
|
|
|
@JsName("CSSStyleValue") |
|
|
|
|
open external class CSSStyleValueJS : CSSStyleValue { |
|
|
|
@ -79,15 +77,6 @@ external class CSSUnparsedValue(members: Array<CSSUnparsedSegment>) : CSSStyleVa
|
|
|
|
|
operator fun set(index: Int, value: CSSUnparsedSegment) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
external interface CSSKeywordValue : CSSStyleValue { |
|
|
|
|
val value: String |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@JsName("CSSKeywordValue") |
|
|
|
|
external class CSSKeywordValueJS(value: String) : CSSKeywordValue { |
|
|
|
|
override val value: String |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// type CSSNumberish = number | CSSNumericValue |
|
|
|
|
interface CSSNumberish { |
|
|
|
|
companion object { |
|
|
|
|