Skip to content

Extend page-break margin reset to collapsed child chains#197

Merged
mettta merged 3 commits intomainfrom
collapsed_margins
Feb 18, 2026
Merged

Extend page-break margin reset to collapsed child chains#197
mettta merged 3 commits intomainfrom
collapsed_margins

Conversation

@mettta
Copy link
Copy Markdown
Owner

@mettta mettta commented Feb 18, 2026

  • Collapse‑chain traversal for top/bottom margin resets at page starts/ends.
  • Optional float skipping in first/last‑child chain traversal with float registration.
  • Normalizer module used by overflow handling in Preview.

- Added collapse‑chain helpers in normalizer.js (+ updated debugConfig.js.)
- Wired normalizer into node.js.
- Applied chain‑based margin reset in preview.js.
- Extended children.js traversal to support stopFn and optional float skipping.
- Registered float elements in flowfilters.js.
@mettta mettta merged commit c5c32c0 into main Feb 18, 2026
5 of 6 checks passed
@mettta mettta deleted the collapsed_margins branch February 18, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant