Array of CSS rules.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | no | 1.0+ | no | 9.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
CSSRuleList Constructor() : CSSRuleList
Array of CSS rules.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ | ||
CSSRuleList() : CSSRuleListArray of CSS rules. Returns
|
||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
length
: Number
Number of CSS rules in the CSS rule list.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
Functions
| Method | Action | IE | Mozilla | Netscape | Opera | Safari | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
static item(Number index) : CSSRule
Returns the CSSRule object from the specified position.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ | |||||
|
Parameters
Returns
|
|||||||||||
For examples, see the quirksmode test page:
http://www.quirksmode.org/dom/tests/item.html
Availability
HTML DOM Level 2|W3C
