Uses of Interface
org.w3c.dom.css.CSSRule
Package | Description |
---|---|
org.w3c.dom.css |
Provides interfaces for DOM Level 2 Style Specification.
|
-
Uses of CSSRule in org.w3c.dom.css
Subinterfaces of CSSRule in org.w3c.dom.css Modifier and Type Interface Description interface
CSSCharsetRule
TheCSSCharsetRule
interface represents a @charset rule in a CSS style sheet.interface
CSSFontFaceRule
TheCSSFontFaceRule
interface represents a @font-face rule in a CSS style sheet.interface
CSSImportRule
TheCSSImportRule
interface represents a @import rule within a CSS style sheet.interface
CSSMediaRule
TheCSSMediaRule
interface represents a @media rule in a CSS style sheet.interface
CSSPageRule
TheCSSPageRule
interface represents a @page rule within a CSS style sheet.interface
CSSStyleRule
TheCSSStyleRule
interface represents a single rule set in a CSS style sheet.interface
CSSUnknownRule
TheCSSUnknownRule
interface represents an at-rule not supported by this user agent.Methods in org.w3c.dom.css that return CSSRule Modifier and Type Method Description CSSRule
CSSStyleSheet. getOwnerRule()
If this style sheet comes from an@import
rule, theownerRule
attribute will contain theCSSImportRule
.CSSRule
CSSRule. getParentRule()
If this rule is contained inside another rule (e.g. a style rule inside an @media block), this is the containing rule.CSSRule
CSSStyleDeclaration. getParentRule()
The CSS rule that contains this declaration block ornull
if thisCSSStyleDeclaration
is not attached to aCSSRule
.CSSRule
CSSRuleList. item(int index)
Used to retrieve a CSS rule by ordinal index.