CSSStyleRule Class Reference
from PyKDE4.khtml import *
Inherits: DOM.CSSRule
Namespace: DOM
Detailed Description
The CSSStyleRule interface represents a single <a
href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule set
in a CSS style sheet.
Method Documentation
__init__ |
( |
self, |
|
|
|
CSSStyleRuleImpl |
impl |
|
) |
|
|
|
The textual representation of the <a
href="http://www.w3.org/TR/REC-CSS2/selector.html"> selector
for the rule set. The implementation may have stripped out
insignificant whitespace while parsing the selector.
see selectorText
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 style sheet is
readonly.