Page Breaks Do Not Propagate to Parent When They Don't Place Between Siblings
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: dshin, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
As per the standard: "Since breaks are only allowed between siblings, not between a box and its container [...] break values applied to children at the start/end of a parent are propagated to the parent, where they can take effect."
Reporter | ||
Comment 1•2 years ago
|
||
Expected: The attached test case should paginate without any div stretching across pages.
Actual: Outer div
containing "b" stretches across page 1-3.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
I noticed that the 1px borders in testcase 1 don't show up for me in print-preview (due to them being scaled-down for the small print-preview visualization, which effectively rounds them to zero). This makes it slightly-harder to visualize. I imagine they can be seen with Retina/HiDPI resolutions, but they're invisible on my non-HiDPI monitor.
Anyway: here's a testcase with 3px borders instead, to make them more-likely to show up in print preview, for easier analysis/visualization.)
Comment 3•2 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #2)
I noticed that the 1px borders in testcase 1 don't show up for me in print-preview (due to them being scaled-down
(I filed bug 1775345 on this, BTW.)
Description
•