CSSValue Class Reference
from PyKDE4.khtml import *
Subclasses: DOM.CSSPrimitiveValue, DOM.CSSValueList
Namespace: DOM
Detailed Description
The CSSValue interface represents a simple or a
complexe value.
Method Documentation
__init__ |
( |
self, |
|
|
|
CSSValueImpl |
impl |
|
) |
|
|
|
A string representation of the current value.
long cssValueType |
( |
|
self ) |
|
A code defining the type of the value as defined above.
CSSValueImpl handle |
( |
|
self ) |
|
bool isCSSPrimitiveValue |
( |
|
self ) |
|
bool isCSSValueList |
( |
|
self ) |
|
- 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.
Enumeration Documentation
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.
- Enumerator:
-
CSS_INHERIT = 0 | |
CSS_PRIMITIVE_VALUE = 1 | |
CSS_VALUE_LIST = 2 | |
CSS_CUSTOM = 3 | |
CSS_INITIAL = 4 | |