Open Bug 1772396 Opened 2 years ago Updated 2 years ago

Page Breaks Do Not Propagate to Parent When They Don't Place Between Siblings

Categories

(Core :: Layout, defect)

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."

Expected: The attached test case should paginate without any div stretching across pages.
Actual: Outer div containing "b" stretches across page 1-3.

Summary: Page Breaks Do Not Propagate to Parent → Page Breaks Do Not Propagate to Parent When They Don't Place Between Siblings
Severity: -- → S3
Depends on: 683043
Attachment #9279462 - Attachment description: Break Propagation Test Case → testcase 1: Break Propagation Test Case

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.)

(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.)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: