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.mjs
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() {
|
package/node.test.js
CHANGED
|
@@ -4184,8 +4184,7 @@ var $;
|
|
|
4184
4184
|
(function ($) {
|
|
4185
4185
|
let cache = null;
|
|
4186
4186
|
function $mol_support_css_overflow_anchor() {
|
|
4187
|
-
return cache ?? (cache = (
|
|
4188
|
-
&& this.$mol_dom_context.CSS?.supports('overflow-anchor:auto')) ?? false);
|
|
4187
|
+
return cache ?? (cache = this.$mol_dom_context.CSS?.supports('overflow-anchor:auto') ?? false);
|
|
4189
4188
|
}
|
|
4190
4189
|
$.$mol_support_css_overflow_anchor = $mol_support_css_overflow_anchor;
|
|
4191
4190
|
})($ || ($ = {}));
|
|
@@ -4312,22 +4311,22 @@ var $;
|
|
|
4312
4311
|
}
|
|
4313
4312
|
let top2 = top;
|
|
4314
4313
|
let bottom2 = bottom;
|
|
4315
|
-
if (anchoring && (top
|
|
4316
|
-
min2 =
|
|
4314
|
+
if (anchoring && (top < limit_top) && (bottom < limit_bottom)) {
|
|
4315
|
+
min2 = max;
|
|
4317
4316
|
top2 = bottom;
|
|
4318
4317
|
}
|
|
4319
|
-
if ((bottom
|
|
4320
|
-
max2 =
|
|
4318
|
+
if ((bottom > limit_bottom) && (top > limit_top)) {
|
|
4319
|
+
max2 = min;
|
|
4321
4320
|
bottom2 = top;
|
|
4322
4321
|
}
|
|
4322
|
+
while (anchoring && ((top2 > limit_top) && (min2 > 0))) {
|
|
4323
|
+
--min2;
|
|
4324
|
+
top2 -= kids[min2].minimal_height();
|
|
4325
|
+
}
|
|
4323
4326
|
while (bottom2 < limit_bottom && max2 < kids.length) {
|
|
4324
4327
|
bottom2 += kids[max2].minimal_height();
|
|
4325
4328
|
++max2;
|
|
4326
4329
|
}
|
|
4327
|
-
while (anchoring && ((top2 >= limit_top) && (min2 > 0))) {
|
|
4328
|
-
--min2;
|
|
4329
|
-
top2 -= kids[min2].minimal_height();
|
|
4330
|
-
}
|
|
4331
4330
|
return [min2, max2];
|
|
4332
4331
|
}
|
|
4333
4332
|
gap_before() {
|