CSSStyleRule interface represents a single rule set in a
CSS style sheet.
See also the Document Object Model (DOM) Level 2 Style Specification.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public CSSStyleDeclaration | |
| public void |
| getSelectorText | back to summary |
|---|---|
| public String getSelectorText() The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector. | |
| getStyle | back to summary |
|---|---|
| public CSSStyleDeclaration getStyle() The declaration-block of this rule set. | |
| setSelectorText | back to summary |
|---|---|
| public void setSelectorText(String selectorText) throws DOMException The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.
| |