| Package | Description |
|---|---|
| org.w3c.dom.css |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CSSCharsetRule
The
CSSCharsetRule interface represents a @charset rule in a CSS style sheet.
|
interface |
CSSFontFaceRule
The
CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet.
|
interface |
CSSImportRule
The
CSSImportRule interface represents a @import rule within a CSS style sheet.
|
interface |
CSSMediaRule
The
CSSMediaRule interface represents a @media rule in a CSS style sheet.
|
interface |
CSSPageRule
The
CSSPageRule interface represents a @page rule within a CSS style sheet.
|
interface |
CSSStyleRule
The
CSSStyleRule interface represents a single rule set in a CSS style sheet.
|
interface |
CSSUnknownRule
The
CSSUnknownRule interface represents an at-rule not supported by this user agent.
|
| Modifier and Type | Method and Description |
|---|---|
CSSRule |
CSSStyleSheet.getOwnerRule()
If this style sheet comes from an
@import rule, the
ownerRule attribute will contain the
CSSImportRule.
|
CSSRule |
CSSStyleDeclaration.getParentRule()
The CSS rule that contains this declaration block or
null if this
CSSStyleDeclaration is not attached to a
CSSRule.
|
CSSRule |
CSSRule.getParentRule()
If this rule is contained inside another rule (e.g.
|
CSSRule |
CSSRuleList.item(int index)
Used to retrieve a CSS rule by ordinal index.
|