<?xml version="1.0" encoding="utf-8"?>
<!-- CSSStyleRule interface -->

  <interface name="CSSStyleRule" inherits="CSSRule"
  id="CSS-CSSStyleRule" since="DOM Level 2">
    <descr>
    <p>
      The <code>CSSStyleRule</code> interface represents a single <xspecref
      href="&css2;/syndata.html#q8">rule set</xspecref>
      in a CSS style sheet.
    </p>
    </descr>

    <attribute type="DOMString" name="selectorText" id="CSS-CSSStyleRule-selectorText">
     <descr>
     <p>
       The textual representation of the <xspecref
       href="&css2;/selector.html">selector</xspecref>
       for the rule set. The implementation may have stripped out insignificant
       whitespace while parsing the selector.
     </p>
     </descr>
     <setraises>
      <exception name="DOMException">
        <descr>
          <p>SYNTAX_ERR: Raised if the specified CSS string value has a syntax error 
             and is unparsable.</p>
	  <p>NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is
	    readonly.</p>
        </descr>  
      </exception>       
     </setraises>
    </attribute>

    <attribute type="CSSStyleDeclaration" readonly="yes" name="style" id="CSS-CSSStyleRule-style">
     <descr>
     <p>
       The <xspecref
       href="&css2;/syndata.html#q8">declaration-block</xspecref>
       of this rule set.
     </p>
     </descr>
    </attribute>

  </interface>
