CSSValue
Deprecated
Avoid using this feature in new projects. The DOM level 2 CSS object model was excluded from the later CSS object model (CSSOM) specification. This feature may be a candidate for removal from web standards or browsers.>
Consider using the following features instead: CSS object model.>
Интерфейс CSSValue возвращает текущее вычисленное значение CSS-свойства.
Свойства
CSSValue.cssText-
Stringвозвращает текущее значение. CSSValue.cssValueTypeТолько для чтения-
An
unsigned shortrepresenting a code defining the type of the value. Возможные значения:Константа Описание CSS_CUSTOMThe value is a custom value. CSS_INHERITЗначение унаследовано и cssTextсодержит"inherit".CSS_PRIMITIVE_VALUEThe value is a primitive value and an instance of the CSSPrimitiveValueinterface can be obtained by using binding-specific casting methods on this instance of theCSSValueinterface.CSS_VALUE_LISTThe value is a CSSValuelist and an instance of theCSSValueListinterface can be obtained by using binding-specific casting methods on this instance of theCSSValueinterface.