Home | Trees | Indices | Help |
|
---|
|
object --+ | util.Base --+ | util.Base2 --+ | cssrule.CSSRule --+ | CSSStyleRule
The CSSStyleRule object represents a ruleset specified (if any) in a CSS style sheet. It provides access to a declaration block as well as to the associated group of selectors.
ruleset:
: selector [ COMMA S* selector ]* LBRACE S* declaration [ ';' S* declaration ]* '}' S* ;
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|||
type The type of this rule, as defined by a CSSRule type constant. |
|||
cssText (DOM) The parsable textual representation of the rule. |
|||
_namespaces if this Rule is attached to a CSSStyleSheet the namespaces of that sheet are mirrored here. |
|||
selectorList The SelectorList of this rule. |
|||
selectorText (DOM) The textual representation of the selector for the rule set. |
|||
style (DOM) The declaration-block of this rule set. |
|||
wellformed READONLY |
|||
Inherited from Inherited from Inherited from |
|
|
DOMException on setting
|
|
|
|
repr(x)
|
str(x)
|
|
typeThe type of this rule, as defined by a CSSRule type constant. Overwritten in derived classes. The expectation is that binding-specific casting methods can be used to cast down from an instance of the CSSRule interface to the specific derived interface implied by the type. (Casting not for this Python implementation I guess...)
|
cssText(DOM) The parsable textual representation of the rule.
|
_namespacesif this Rule is attached to a CSSStyleSheet the namespaces of that sheet are mirrored here. While the Rule is not attached the namespaces of selectorList are used.
|
selectorListThe SelectorList of this rule.
|
selectorText(DOM) The textual representation of the selector for the rule set.
|
style(DOM) The declaration-block of this rule set.
|
wellformedREADONLY
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jul 14 22:21:27 2008 | http://epydoc.sourceforge.net |