@vivliostyle/core
    Preparing search index...

    Class PageParserHandler

    ParserHandler for @page rules. It handles properties specified with page contexts. It also does basic cascading (which can be done without information other than the page rules themselves) and stores the result in pageProps object as a map from page selectors to sets of properties. This result is later used for adding @page rules to the real DOM, which are then used by the PDF renderer (Chromium) to determine page sizes.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    cascade: Cascade
    chain: SelectorChain = ...
    condition: Val
    delegation: Delegation
    depth: number = 0
    elementStyle: ElementStyle = {}
    footnoteContent: boolean = false
    invalid: boolean = false
    pseudoelement: string = null
    regionId: string
    ruleId: number = 0

    Identity of the declaration block being parsed, for revert-rule.

    selectorListVoided: boolean = false
    specificity: number = 0
    state: ParseState
    validatorSet: ValidatorSet
    viewConditionId: string = null

    Methods