@vivliostyle/core 2.36.0 → 2.36.1

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.
@@ -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.