public class CSSPageRule extends CSSRule
CSSPageRule.org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCHARSET_RULE, COUNTER_STYLE_RULE, FONT_FACE_RULE, FONT_FEATURE_VALUES_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, MEDIA_RULE, NAMESPACE_RULE, PAGE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULECONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Modifier | Constructor and Description |
|---|---|
|
CSSPageRule()
Creates a new instance.
|
protected |
CSSPageRule(CSSStyleSheet stylesheet,
org.htmlunit.cssparser.dom.CSSPageRuleImpl rule)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSelectorText()
Returns the textual representation of the selector for the rule set.
|
CSSStyleDeclaration |
getStyle()
Returns the declaration-block of this rule set.
|
void |
jsConstructor()
Creates an instance.
|
void |
setSelectorText(String selectorText)
Sets the textual representation of the selector for the rule set.
|
create, getCssText, getParentRule, getParentStyleSheet,