| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.Base --+
|
CSSValue
The CSSValue interface represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
cssText A string representation of the current value. |
|||
|
cssValueType A code defining the type of the value as defined above. |
|||
|
Inherited from |
|||
|
|||
(cssutils) inits a new CSS Value
|
raises SyntaxErr if an INVALID token in tokens
returns True if INVALID found, else False |
expr = value
: term [ operator term ]*
;
term
: unary_operator?
[ NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S* |
ANGLE S* | TIME S* | FREQ S* | function ]
| STRING S* | IDENT S* | URI S* | hexcolor
;
function
: FUNCTION S* expr ')' S*
;
/*
* There is a constraint on the color that it must
* have either 3 or 6 hex-digits (i.e., [0-9a-fA-F])
* after the "#"; e.g., "#000" is OK, but "#abcd" is not.
*/
hexcolor
: HASH S*
;
DOMException on setting
|
|
|||
cssTextA string representation of the current value.
|
cssValueTypeA code defining the type of the value as defined above.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 04 12:58:32 2007 | http://epydoc.sourceforge.net |