@DOMObjectAttribute @DOMNameAttribute(name="CSSStyleRule") public interface ICSSStyleRule extends ICSSRule
The CSSStyleRule interface represents a single rule set in a CSS style sheet.
Modifier and Type | Method and Description |
---|---|
String |
getSelectorText()
The textual representation of the selector for the rule set.
|
ICSSStyleDeclaration |
getStyle()
The declaration-block of this rule set.
|
getCSSText, getParentRule, getParentStyleSheet, getType, setCSSText
@DOMNameAttribute(name="selectorText") String getSelectorText()
The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.
@DOMNameAttribute(name="style") ICSSStyleDeclaration getStyle()
The declaration-block of this rule set.