mol_dump_lib 0.0.292 → 0.0.293
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.
- package/node.d.ts +52 -52
- package/node.deps.json +1 -1
- package/node.js +9 -10
- package/node.js.map +1 -1
- package/node.mjs +9 -10
- package/node.test.js +9 -10
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +52 -52
- package/web.deps.json +1 -1
- package/web.js +9 -10
- package/web.js.map +1 -1
- package/web.mjs +9 -10
package/web.js
CHANGED
|
@@ -3675,8 +3675,7 @@ var $;
|
|
|
3675
3675
|
(function ($) {
|
|
3676
3676
|
let cache = null;
|
|
3677
3677
|
function $mol_support_css_overflow_anchor() {
|
|
3678
|
-
return cache ?? (cache = (
|
|
3679
|
-
&& this.$mol_dom_context.CSS?.supports('overflow-anchor:auto')) ?? false);
|
|
3678
|
+
return cache ?? (cache = this.$mol_dom_context.CSS?.supports('overflow-anchor:auto') ?? false);
|
|
3680
3679
|
}
|
|
3681
3680
|
$.$mol_support_css_overflow_anchor = $mol_support_css_overflow_anchor;
|
|
3682
3681
|
})($ || ($ = {}));
|
|
@@ -3803,22 +3802,22 @@ var $;
|
|
|
3803
3802
|
}
|
|
3804
3803
|
let top2 = top;
|
|
3805
3804
|
let bottom2 = bottom;
|
|
3806
|
-
if (anchoring && (top
|
|
3807
|
-
min2 =
|
|
3805
|
+
if (anchoring && (top < limit_top) && (bottom < limit_bottom)) {
|
|
3806
|
+
min2 = max;
|
|
3808
3807
|
top2 = bottom;
|
|
3809
3808
|
}
|
|
3810
|
-
if ((bottom
|
|
3811
|
-
max2 =
|
|
3809
|
+
if ((bottom > limit_bottom) && (top > limit_top)) {
|
|
3810
|
+
max2 = min;
|
|
3812
3811
|
bottom2 = top;
|
|
3813
3812
|
}
|
|
3813
|
+
while (anchoring && ((top2 > limit_top) && (min2 > 0))) {
|
|
3814
|
+
--min2;
|
|
3815
|
+
top2 -= kids[min2].minimal_height();
|
|
3816
|
+
}
|
|
3814
3817
|
while (bottom2 < limit_bottom && max2 < kids.length) {
|
|
3815
3818
|
bottom2 += kids[max2].minimal_height();
|
|
3816
3819
|
++max2;
|
|
3817
3820
|
}
|
|
3818
|
-
while (anchoring && ((top2 >= limit_top) && (min2 > 0))) {
|
|
3819
|
-
--min2;
|
|
3820
|
-
top2 -= kids[min2].minimal_height();
|
|
3821
|
-
}
|
|
3822
3821
|
return [min2, max2];
|
|
3823
3822
|
}
|
|
3824
3823
|
gap_before() {
|