mol_dump_lib 0.0.291 → 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/node.js
CHANGED
|
@@ -4193,8 +4193,7 @@ var $;
|
|
|
4193
4193
|
(function ($) {
|
|
4194
4194
|
let cache = null;
|
|
4195
4195
|
function $mol_support_css_overflow_anchor() {
|
|
4196
|
-
return cache ?? (cache = (
|
|
4197
|
-
&& this.$mol_dom_context.CSS?.supports('overflow-anchor:auto')) ?? false);
|
|
4196
|
+
return cache ?? (cache = this.$mol_dom_context.CSS?.supports('overflow-anchor:auto') ?? false);
|
|
4198
4197
|
}
|
|
4199
4198
|
$.$mol_support_css_overflow_anchor = $mol_support_css_overflow_anchor;
|
|
4200
4199
|
})($ || ($ = {}));
|
|
@@ -4321,22 +4320,22 @@ var $;
|
|
|
4321
4320
|
}
|
|
4322
4321
|
let top2 = top;
|
|
4323
4322
|
let bottom2 = bottom;
|
|
4324
|
-
if (anchoring && (top
|
|
4325
|
-
min2 =
|
|
4323
|
+
if (anchoring && (top < limit_top) && (bottom < limit_bottom)) {
|
|
4324
|
+
min2 = max;
|
|
4326
4325
|
top2 = bottom;
|
|
4327
4326
|
}
|
|
4328
|
-
if ((bottom
|
|
4329
|
-
max2 =
|
|
4327
|
+
if ((bottom > limit_bottom) && (top > limit_top)) {
|
|
4328
|
+
max2 = min;
|
|
4330
4329
|
bottom2 = top;
|
|
4331
4330
|
}
|
|
4331
|
+
while (anchoring && ((top2 > limit_top) && (min2 > 0))) {
|
|
4332
|
+
--min2;
|
|
4333
|
+
top2 -= kids[min2].minimal_height();
|
|
4334
|
+
}
|
|
4332
4335
|
while (bottom2 < limit_bottom && max2 < kids.length) {
|
|
4333
4336
|
bottom2 += kids[max2].minimal_height();
|
|
4334
4337
|
++max2;
|
|
4335
4338
|
}
|
|
4336
|
-
while (anchoring && ((top2 >= limit_top) && (min2 > 0))) {
|
|
4337
|
-
--min2;
|
|
4338
|
-
top2 -= kids[min2].minimal_height();
|
|
4339
|
-
}
|
|
4340
4339
|
return [min2, max2];
|
|
4341
4340
|
}
|
|
4342
4341
|
gap_before() {
|