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 interfaceCSSCharsetRuleTheCSSCharsetRuleinterface represents a @charset rule in a CSS style sheet.interfaceCSSFontFaceRuleTheCSSFontFaceRuleinterface represents a @font-face rule in a CSS style sheet.interfaceCSSImportRuleTheCSSImportRuleinterface represents a @import rule within a CSS style sheet.interfaceCSSMediaRuleTheCSSMediaRuleinterface represents a @media rule in a CSS style sheet.interfaceCSSPageRuleTheCSSPageRuleinterface represents a @page rule within a CSS style sheet.interfaceCSSStyleRuleTheCSSStyleRuleinterface represents a single rule set in a CSS style sheet.interfaceCSSUnknownRuleTheCSSUnknownRuleinterface represents an at-rule not supported by this user agent.Methods in org.w3c.dom.css that return CSSRule Modifier and Type Method Description CSSRuleCSSStyleSheet. getOwnerRule()If this style sheet comes from an@importrule, theownerRuleattribute will contain theCSSImportRule.CSSRuleCSSRule. getParentRule()If this rule is contained inside another rule (e.g. a style rule inside an @media block), this is the containing rule.CSSRuleCSSStyleDeclaration. getParentRule()The CSS rule that contains this declaration block ornullif thisCSSStyleDeclarationis not attached to aCSSRule.CSSRuleCSSRuleList. item(int index)Used to retrieve a CSS rule by ordinal index.