kapom-report - v0.1.2
    Preparing search index...

    Class BottomAnchorBlock

    Pins its children to the bottom of the current page. At render it measures the children, fills the remaining gap (contentBottom − cursor.y − children height) by advancing the cursor, then renders the children in order — so a signature / report footer sits at the page bottom instead of flowing right after the body. If the body already reaches the bottom (gap ≤ 0) it just renders the children where the cursor is (no negative advance).

    measureHeight reports only the children's own height (not the gap) so the engine's break-before check keeps it on the current page when the children fit — the gap is space that was already there, not extra height the block needs reserved.

    Implements

    Index