@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: ChainedAction[] = null
    condition: Val
    conditionCount: number = 0
    depth: number = 0
    elementStyle: ElementStyle = null
    footnoteContent: boolean = false
    insideSelectorRule: ParseState
    invalid: boolean = false
    pseudoelement: string = null
    regionId: string
    specificity: number = 0
    state: ParseState
    topLevel: any
    validatorSet: ValidatorSet
    viewConditionId: string = null

    Methods

    • Parameters

      • funcName: string

        The name of the function taking a selector list as argument

      • Optionalparams: (string | number)[]

        Optional parameters (e.g., [a, b] for nth-child(An+B of S))

      Returns void