Home | Trees | Indices | Help |
|
---|
|
object --+ | util.Base --+ | 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 |
|
|||
type = 1 The type of this rule, as defined by a CSSRule type constant. |
|||
Inherited from Inherited from Inherited from |
|
|||
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. |
|||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
DOMException on setting
|
|
|
|
repr(x)
|
str(x)
|
|
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.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Feb 03 21:10:57 2008 | http://epydoc.sourceforge.net |