| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.Base --+
|
Property
(cssutils) a CSS property in a StyleDeclaration of a CSSStyleRule
property = name
: IDENT S*
;
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*
;
prio
: IMPORTANT_SYM S*
;
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
cssText A parsable textual representation. |
|||
|
name Name of this property |
|||
|
literalname Readonly literal (not normalized) name of this property |
|||
|
cssValue (cssutils) CSSValue object of this property |
|||
|
value The textual value of this Properties cssValue. |
|||
|
priority (cssutils) Priority of this property |
|||
|
literalpriority Readonly literal (not normalized) priority of this property |
|||
|
normalname DEPRECATED since 0.9.5, use name instead |
|||
|
Inherited from |
|||
|
|||
inits property
|
DOMException on setting
|
DOMException on setting
|
see css.CSSValue DOMException on setting?
|
Format
prio
: IMPORTANT_SYM S*
;
"!"{w}"important" {return IMPORTANT_SYM;}
DOMException on setting
|
repr(x)
|
str(x)
|
|
|
|||
cssTextA parsable textual representation.
|
nameName of this property
|
literalnameReadonly literal (not normalized) name of this property
|
cssValue(cssutils) CSSValue object of this property
|
valueThe textual value of this Properties cssValue. |
priority(cssutils) Priority of this property
|
literalpriorityReadonly literal (not normalized) priority of this property
|
normalnameDEPRECATED since 0.9.5, use name instead
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 11 21:02:56 2008 | http://epydoc.sourceforge.net |