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