CSSValue
SSValue
インターフェイスは、 CSS プロパティの現在の計算値を表します。
プロパティ
CSSValue.cssText
- 現在の値を表す
DOMString
。 CSSValue.cssValueType
読取専用- 値の型を定義するコードを表す
unsigned short
。可能な値は次のとおりです:定数 説明 CSS_CUSTOM
The value is a custom value. CSS_INHERIT
The value is inherited and the cssText
contains"inherit"
.CSS_PRIMITIVE_VALUE
The value is a primitive value and an instance of the CSSPrimitiveValue
(en-US) interface can be obtained by using binding-specific casting methods on this instance of theCSSValue
interface.CSS_VALUE_LIST
The value is a CSSValue
list and an instance of theCSSValueList
(en-US) interface can be obtained by using binding-specific casting methods on this instance of theCSSValue
interface.
仕様
仕様 | ステータス | 備考 |
---|---|---|
Document Object Model (DOM) Level 2 Style Specification CSSValue の定義 |
廃止 | 初回定義 |
ブラウザー実装状況
BCD tables only load in the browser