Interface CSSPageRule
interface CSSPageRule {
CHARSET_RULE: 2;
COUNTER_STYLE_RULE: 11;
cssRules: CSSRuleList;
cssText: string;
FONT_FACE_RULE: 5;
FONT_FEATURE_VALUES_RULE: 14;
IMPORT_RULE: 3;
KEYFRAME_RULE: 8;
KEYFRAMES_RULE: 7;
MEDIA_RULE: 4;
NAMESPACE_RULE: 10;
PAGE_RULE: 6;
parentRule: CSSRule;
parentStyleSheet: CSSStyleSheet;
selectorText: string;
style: CSSStyleDeclaration;
STYLE_RULE: 1;
SUPPORTS_RULE: 12;
type: number;
deleteRule(index: number): void;
insertRule(rule: string, index?: number): number;
}
CHARSET_RULE: 2;
COUNTER_STYLE_RULE: 11;
cssRules: CSSRuleList;
cssText: string;
FONT_FACE_RULE: 5;
FONT_FEATURE_VALUES_RULE: 14;
IMPORT_RULE: 3;
KEYFRAME_RULE: 8;
KEYFRAMES_RULE: 7;
MEDIA_RULE: 4;
NAMESPACE_RULE: 10;
PAGE_RULE: 6;
parentRule: CSSRule;
parentStyleSheet: CSSStyleSheet;
selectorText: string;
style: CSSStyleDeclaration;
STYLE_RULE: 1;
SUPPORTS_RULE: 12;
type: number;
deleteRule(index: number): void;
insertRule(rule: string, index?: number): number;
}
Hierarchy
- CSSGroupingRule
- CSSPageRule (View Summary)
Properties
ReadonlyCHARSET_RULE
CHARSET_RULE: 2
ReadonlyCOUNTER_STYLE_RULE
COUNTER_STYLE_RULE: 11
ReadonlycssRules
cssText
cssText: string
ReadonlyFONT_FACE_RULE
FONT_FACE_RULE: 5
ReadonlyFONT_FEATURE_VALUES_RULE
FONT_FEATURE_VALUES_RULE: 14
ReadonlyIMPORT_RULE
IMPORT_RULE: 3
ReadonlyKEYFRAME_RULE
KEYFRAME_RULE: 8
ReadonlyKEYFRAMES_RULE
KEYFRAMES_RULE: 7
ReadonlyMEDIA_RULE
MEDIA_RULE: 4
ReadonlyNAMESPACE_RULE
NAMESPACE_RULE: 10
ReadonlyPAGE_RULE
PAGE_RULE: 6
ReadonlyparentRule
ReadonlyparentStyleSheet
selectorText
selectorText: string
Readonlystyle
ReadonlySTYLE_RULE
STYLE_RULE: 1
ReadonlySUPPORTS_RULE
SUPPORTS_RULE: 12
Readonlytype
type: number
CSSPageRule is an interface representing a single CSS
Page
rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).
MDN Reference