# class CSSRuleList

###

Module | khtml
Namespace | DOM
Class | CSSRuleList
Inherits |

The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.

### methods

- CSSRuleList ( )

  returns ctor

- CSSRuleList (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.CSSRuleList |

- CSSRuleList (i)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  i | CSSRuleListImpl |

- CSSRuleList (i)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  i | StyleListImpl |

- handle ( )

  returns CSSRuleListImpl
  Not implemented

  Internal not part of the DOM

- isNull ( )

  returns bool

- item (index)

  returns DOM.CSSRule

  Argument | Type | Default
  --- | --- | ---
  index | unsigned long |

  Used to retrieve a CSS rule by ordinal index. The order in this collection represents the order of the rules in the CSS style sheet.

  index - Index into the collection

  Returns The style rule at the index position in the CSSRuleList , or null if that is not a valid index.

- length ( )

  returns unsigned long

  The number of CSSRule s in the list. The range of valid child rule indices is 0 to length-1 inclusive.