THE SEAM. One float, boxed and handed to the queue: PreparedFloat for
layout/page.ts to place, or null when there is nothing to place.
layout/vlist.ts parks the result on LayoutContext.floats under
floatMarker(n) and pushes that marker into the main vertical list, so the
page builder learns both what to place and where the author wrote it —
which is what "here" in [h] means, and the line a float must never be
placed above.
null is returned only for a float whose material comes to nothing —
\begin{figure}\end{figure}, which doc/build.ts has already warned about
at its own line. It is not a silent drop: there is nothing to drop.
THE SEAM. One float, boxed and handed to the queue:
PreparedFloatforlayout/page.tsto place, ornullwhen there is nothing to place.layout/vlist.tsparks the result onLayoutContext.floatsunderfloatMarker(n)and pushes that marker into the main vertical list, so the page builder learns both what to place and where the author wrote it — which is what "here" in[h]means, and the line a float must never be placed above.nullis returned only for a float whose material comes to nothing —\begin{figure}\end{figure}, whichdoc/build.tshas already warned about at its own line. It is not a silent drop: there is nothing to drop.