# class CSSStyleRule

###

Module | khtml
Namespace | DOM
Class | CSSStyleRule
Inherits | DOM::CSSRule

The CSSStyleRule interface represents a single rule set in a CSS style sheet.

### methods

- CSSStyleRule ( )

  returns ctor

- CSSStyleRule (other)

  returns ctor

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

- CSSStyleRule (other)

  returns ctor

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

- CSSStyleRule (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | CSSStyleRuleImpl |

- selectorText ( )

  returns DOM.DOMString

  The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.

- setSelectorText (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see selectorText CSSException SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.

  DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

- style ( )

  returns DOM.CSSStyleDeclaration

  The declaration-block of this rule set.