@readium/navigator-html-injectables 2.0.0-beta.2 → 2.0.0-beta.4

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.
@@ -15,3 +15,12 @@ export declare function getContentHeight(el: Element): number;
15
15
  * To fix this, we insert and remove blank virtual columns at the end of the resource.
16
16
  */
17
17
  export declare function appendVirtualColumnIfNeeded(wnd: ReadiumWindow): boolean;
18
+ /**
19
+ * This forces a recalculation in WebKit browsers.
20
+ * It is needed in scroll mode to ensure that the content is scrollable.
21
+ * Webkit seems to find itself in some kind of limbo if we do not do that.
22
+ * It has everything correct but the scroll listener is non-functional,
23
+ * unless you force a recalc or reflow.
24
+ * It is not needed in paginated mode.
25
+ */
26
+ export declare function forceWebkitRecalc(wnd: ReadiumWindow): void;