class CSSValue |
|
The CSSValue interface represents a simple or a complexe value. |
|
|
|
|
A string representation of the current value. |
|
A code defining the type of the value as defined above. |
|
|
|
Internal not part of the DOM |
|
|
see cssText
CSSException
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.
DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly. |
An integer indicating which type of unit applies to the value.
All CSS2 constants are not supposed to be required by the implementation since all CSS2 interfaces are optionals.
CSS_INHERIT | - 0 | - | ||
CSS_PRIMITIVE_VALUE | - 1 | - | ||
CSS_VALUE_LIST | - 2 | - | ||
CSS_CUSTOM | - 3 | - | ||
CSS_INITIAL | - 4 | - |