@vivliostyle/core 2.36.0 → 2.36.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -319,7 +319,7 @@ export declare class PageMarginBoxPartitionInstance extends PageMaster.Partition
319
319
  private positionAndSizeAlongFixedDimension;
320
320
  initHorizontal(): void;
321
321
  initVertical(): void;
322
- finishContainer(context: Exprs.Context, container: Vtree.Container, page: Vtree.Page, column: Vtree.Container, columnCount: number, clientLayout: Vtree.ClientLayout, docFaces: Font.DocumentFaces): void;
322
+ finishContainer(context: Exprs.Context, container: Vtree.Container, page: Vtree.Page, column: Vtree.Container | null, columnCount: number, clientLayout: Vtree.ClientLayout, docFaces: Font.DocumentFaces): void;
323
323
  }
324
324
  /**
325
325
  * Dynamically generate and manage page masters corresponding to page at-rules.
@@ -50,6 +50,7 @@ export declare function getComputedDisplayValue(display: Css.Ident, position: Cs
50
50
  */
51
51
  export declare function isBlock(display: Css.Ident, position: Css.Ident, float: Css.Val, isRoot: boolean): boolean;
52
52
  export declare function isInlineLevel(display: Css.Ident | string): boolean;
53
+ export declare function isBlockLevel(display: Css.Ident | string): boolean;
53
54
  export declare function isRubyInternalDisplay(display: Css.Ident | string): boolean;
54
55
  /**
55
56
  * Judges if the generated box establishes a new block formatting context.
@@ -8,7 +8,13 @@ import { Layout, Vtree } from "./types";
8
8
  * apart from the original column position, and it helps determine
9
9
  * page/column breaking positions in our layout processing.
10
10
  */
11
- export declare function setBrowserColumnBreaking(column: Layout.Column): void;
11
+ export declare function setBrowserColumnBreaking(column: Vtree.Container): void;
12
+ /**
13
+ * Disable the browser's multi-column feature for page/column breaking.
14
+ * This function resets the CSS properties set by `setBrowserColumnBreaking`.
15
+ */
16
+ export declare function unsetBrowserColumnBreaking(column: Vtree.Container): void;
17
+ export declare function isUsingBrowserColumnBreaking(column: Vtree.Container): boolean;
12
18
  /**
13
19
  * Check if the client rectangle of an element or range is located
14
20
  * in a column beyond the current one due to the browser's column breaking.
@@ -180,7 +180,7 @@ export declare class PageBoxInstance<P extends PageBox = PageBox<any>> {
180
180
  /**
181
181
  * @param column (null when content comes from the content property)
182
182
  */
183
- finishContainer(context: Exprs.Context, container: Vtree.Container, page: Vtree.Page, column: Vtree.Container, columnCount: number, clientLayout: Vtree.ClientLayout, docFaces: Font.DocumentFaces): void;
183
+ finishContainer(context: Exprs.Context, container: Vtree.Container, page: Vtree.Page, column: Vtree.Container | null, columnCount: number, clientLayout: Vtree.ClientLayout, docFaces: Font.DocumentFaces): void;
184
184
  applyCascadeAndInit(cascade: CssCascade.CascadeInstance, docElementStyle: CssCascade.ElementStyle): void;
185
185
  resolveAutoSizing(context: Exprs.Context): void;
186
186
  }