@DOMObjectAttribute @DOMNameAttribute(name="CSSPageRule") public interface ICSSPageRule extends ICSSRule
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.
Modifier and Type | Method and Description |
---|---|
String |
getSelectorText()
The parsable textual representation of the page selector for the rule.
|
ICSSStyleDeclaration |
getStyle()
The declaration-block of this rule.
|
void |
setSelectorText(String value)
The parsable textual representation of the page selector for the rule.
|
getCSSText, getParentRule, getParentStyleSheet, getType, setCSSText
@DOMNameAttribute(name="selectorText") String getSelectorText()
The parsable textual representation of the page selector for the rule.
Value: The selector text.@DOMNameAttribute(name="selectorText") void setSelectorText(String value)
The parsable textual representation of the page selector for the rule.
Value: The selector text.@DOMNameAttribute(name="style") ICSSStyleDeclaration getStyle()
The declaration-block of this rule.