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
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
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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.