Onze vrijwilligers hebben dit artikel nog niet naar het Nederlands vertaald. Doe mee en help de klus te klaren!
The CSSValue
interface represents the current computed value of a CSS property.
Properties
CSSValue.cssText
- A
DOMString
representing the current value. CSSValue.cssValueType
Read only- An
unsigned short
representing a code defining the type of the value. Possible values are:Constant Description 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.
Specifications
Specification | Status | Comment |
---|---|---|
Document Object Model (DOM) Level 2 Style Specification The definition of 'CSSValue' in that specification. |
Recommendation | Initial definition |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | (Yes) | ? | No support | ? |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
Basic support | ? | (Yes) | (Yes) | ? | ? | ? | ? |
See also
Documentlabels en -medewerkers
Labels:
Aan deze pagina hebben bijgedragen:
Sebastianz
Laatst bijgewerkt door:
Sebastianz,