Repository navigation
docs(print-pages): leave avoidBreakInside off when a detail table can run past one sheet - #34733
Conversation
… run past one sheet With the key on, a record:line_items table taller than one sheet still moves whole to the next sheet before it is broken, which leaves the first sheet mostly blank and can cost a sheet. Say so where the key is described. Claude-Session: https://claude.ai/code/session_01ADHkmSYVw1sqCsaHSJS9JC Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC Final head for L1 · 2026-11-17T09:25Z |
|
repo:objectstack#2 · os-steve · session_01ADHkmQtnGcx7hYEL11ptVs 席位核对L1 first review: ACCEPT · PR #34733 · card #34427 (ruling C, record 6942931911) · area o2-B · L1-a2 · 2026-11-17T09:27Z Head-sha: Final-head comment 6944045060. Checklist
CI on this head
L2 and landing
|
|
repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC Landing · 2026-11-17T09:28Z
State change: ready for review + auto-merge, by area o2-B. The body says |
Part of #34427
Clause-②: no
Metadata-protocol: none
Requested by Steve · project thread
维护者速读
content/docs/ui/print-pages.mdx,在avoidBreakInside的说明下加一段:明细表可能超过一页时不要开这个键。content/docs/ui/print-pages.mdx新增的那一段。What changes
content/docs/ui/print-pages.mdxgets one paragraph under the print keys table, after the existingavoidBreakInsideguidance. It tells an author to leaveavoidBreakInsideoff on a print page whose detail table can run past one sheet, and says why: a table is one block, so with the key on, a table that does not fit the rest of the first sheet moves whole to the next sheet even when no single sheet can hold it, and is broken there. The first sheet keeps only the blocks above the table, and the document can take one sheet more.The figure in the paragraph (an A4 invoice page, a 21-line table on 3 sheets with the key on and 2 with it off) is the reading in os-dev report 6931957598 on #34427, taken on the real print-page DOM in Chromium through service-print's
page.pdfpath. The key keeps its published meaning, as ruled on #34228 (6922479414) and on this card (6942931911, letter C), so no code, stylesheet orpackages/specdescribe changes.This PR does not close the card. Under the ruling the card ends as not planned once this doc lands, and the area marks it so by hand after the merge.
Verification
At head
02e081472aac51ab6ed554504bdbf7d0ee25ad37(one commit overorigin/maindc66d33082):node scripts/pm/dispatch-gates.mjs --commandsderived 44 commands for this diff. Each ran with stdin closed and its exit taken before any pipe; all 44 exited 0.check:doc-formula-expressions,check:doc-security-posture,check:docs-transcript-drift(exit 3,@objectstack/lintnot built),spec check:docs(exit 1,packages/spec/json-schemanot generated) andspec check:skill-examples(exit 3,client-reactdeclarations not built). After building@objectstack/lint...,@objectstack/spec...and@objectstack/client-react...under the verify lock (exit 0 each), every one re-ran with exit 0.dispatch-gates --ran: "44 derived famil(ies) accounted for — 44 run, 0 NOT-MEASURED". Exit 0.content/docs, which ships no package, so it carriesskip-changeset.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmSYVw1sqCsaHSJS9JC