Provides interfaces for DOM Level 2 Style Specification.
-
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.
If this style sheet comes from an @import
rule, the
ownerRule
attribute will contain the
CSSImportRule
.
If this rule is contained inside another rule (e.g. a style rule
inside an @media block), this is the containing rule.
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.