CSS and stylesheets API

Object

Description

Availability

Counter

Represents any counter or counters function value.

4.6+

CSSCharsetRule

Represents an @charset rule, which holds an encoding definition.

4.6+

CSSFontFaceRule

Represents an @font-face rule, which holds a set of font descriptions.

4.6+

CSSImportRule

Represents an @import rule, which imports style rules from other style sheets.

4.6+

CSSMediaRule

Represents an @media rule, which defines style rules for a specific media type.

4.6+

CSSPageRule

Represents a @page rule, which specifies the dimensions, orientation, and margins for paged media.

4.6+

CSSPrimitiveValue

Represents a single CSS value.

4.6+

CSSRule

The base class that defines any rule in a CSS style sheet, including rule sets and @ rules.

4.6+

CSSRuleList

Represents an ordered collection of CSSRule objects.

4.6+

CSSStyleDeclaration

Represents a CSS declaration block that consists of CSS properties and their values.

4.6+

CSSStyleRule

Represents a single rule set in a CSS style sheet.

4.6+

CSSStyleSheet

Represents a CSS style sheet.

4.6+

CSSUnknownValue

Represents an unsupported @ rule.

4.6+

CSSValue

Represents a simple or complex CSS property value.

4.6+

CSSValueList

Represents an ordered collection of CSSValue objects.

4.6+

MediaList

Represents an ordered collection of media. An empty list is equivalent to a list that contains a value of all.

4.6+

Rect

Represents a Rect value.

4.6+

RGBColor

Represents an RGB color value.

4.6+

Stylesheet

Represents a single external or inline style sheet that is associated with a document.

4.6+

StylesheetList

Represents an ordered collection of StyleSheet objects.

4.6+

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus