CSSValue
Интерфейс CSSValue
возвращает текущее вычисленное значение CSS-свойства.
Свойства
CSSValue.cssText
-
DOMString
возвращает текущее значение. CSSValue.cssValueType
Только для чтения-
An
unsigned short
representing a code defining the type of the value. Возможные значения:Константа Описание CSS_CUSTOM
The value is a custom value. CSS_INHERIT
Значение унаследовано и cssText
содержит"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.
Спецификации
No specification found
No specification data found for api.CSSValue
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Совместимость с браузерами
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSValue | ||||||||||||
cssText | ||||||||||||
cssValueType |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Deprecated. Not for use in new websites.
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.