| Package | Description | 
|---|---|
| org.w3c.dom.css | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | CSSCharsetRuleThe  CSSCharsetRuleinterface represents a @charset rule in a
 CSS style sheet. | 
| interface  | CSSFontFaceRuleThe  CSSFontFaceRuleinterface represents a @font-face rule in
 a CSS style sheet. | 
| interface  | CSSImportRuleThe  CSSImportRuleinterface represents a @import rule within
 a CSS style sheet. | 
| interface  | CSSMediaRuleThe  CSSMediaRuleinterface represents a @media rule in a CSS
 style sheet. | 
| interface  | CSSPageRuleThe  CSSPageRuleinterface represents a @page rule within a
 CSS style sheet. | 
| interface  | CSSStyleRuleThe  CSSStyleRuleinterface represents a single rule set in a
 CSS style sheet. | 
| interface  | CSSUnknownRuleThe  CSSUnknownRuleinterface 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  @importrule, theownerRuleattribute will contain theCSSImportRule. | 
| CSSRule | CSSStyleDeclaration. getParentRule()The CSS rule that contains this declaration block or  nullif thisCSSStyleDeclarationis not attached to aCSSRule. | 
| 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. | 
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.