HTML5 JS API Index > CSS Object Model Tutorials & Specs
The CSSRuleList interface represents an ordered collection of CSS style rules.
- The length attribute must return the number of CSSRule objects represented by the
- item(unsigned long index)
- The item(index) method must return the indexth CSSRule
object in the collection. If there is no indexth object in the collection, then the method must return null.