Uses of Interface
org.w3c.dom.css.CSSRule

Packages that use CSSRule
Package
Description
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 
    The CSSCharsetRule interface represents a @charset rule in a CSS style sheet.
    interface 
    The CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet.
    interface 
    The CSSImportRule interface represents a @import rule within a CSS style sheet.
    interface 
    The CSSMediaRule interface represents a @media rule in a CSS style sheet.
    interface 
    The CSSPageRule interface represents a @page rule within a CSS style sheet.
    interface 
    The CSSStyleRule interface represents a single rule set in a CSS style sheet.
    interface 
    The CSSUnknownRule 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
    CSSStyleSheet.getOwnerRule()
    If this style sheet comes from an @import rule, the ownerRule attribute will contain the CSSImportRule.
    CSSRule.getParentRule()
    If this rule is contained inside another rule (e.g. a style rule inside an @media block), this is the containing rule.
    CSSStyleDeclaration.getParentRule()
    The CSS rule that contains this declaration block or null if this CSSStyleDeclaration is not attached to a CSSRule.
    CSSRuleList.item​(int index)
    Used to retrieve a CSS rule by ordinal index.