# class CSSPageRule

###

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

The CSSPageRule interface represents a page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, etc. of a page box for paged media.

### methods

- CSSPageRule ( )

  returns ctor

- CSSPageRule (other)

  returns ctor

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

- CSSPageRule (other)

  returns ctor

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

- CSSPageRule (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | CSSPageRuleImpl |

- selectorText ( )

  returns DOM.DOMString

  The parsable textual representation of the page selector for the rule.

- 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.