CSSPageRule |
an @page rule in a CSS style
sheet |
Availability
DOM Level 2 CSS
Inherits from/Overrides
CSSRule
CSSPageRule
Properties
- String selectorText
-
The
page selector text for this rule. Setting this property to an illegal
value throws a DOMException with a code of
SYNTAX_ERR. Setting this property when the rule is
read-only throws a DOMException with a code of
NO_MODIFICATION_ALLOWED_ERR.
- readonly CSSStyleDeclaration style
-
The set of
styles for this rule.
Description
This interface represents an @page rule in a CSS
style sheet, which is typically used to specify the page layout for
printing. Consult a CSS reference for details.
|