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

<interface name="CSSPageRule" inherits="CSSRule" id="CSS-CSSPageRule"
  since="DOM Level 2">
  <descr>
    <p>
      The <code>CSSPageRule</code> interface represents a <xspecref
      href="&css2;/page.html#page-box">@page
      rule</xspecref> within a CSS style sheet. The <code>@page</code> rule is
      used to specify the dimensions, orientation, margins, etc. of a page box
      for paged media.
    </p>
  </descr>
  
  <attribute type="DOMString" name="selectorText" id="CSS-CSSPageRule-name">
    <descr>
      <p>
	The parsable textual representation of the page selector for the rule.
      </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-CSSPageRule-style">
    <descr>
      <p>
	The <xspecref href="&css2;/syndata.html#q8">declaration-block</xspecref> of this rule.
      </p>
    </descr>
  </attribute>
  
</interface>
