Open Bug 1860527 Opened 11 months ago Updated 10 months ago

break-before / break-after on inline-level elements should not apply

Categories

(Core :: Printing: Output, defect)

Firefox 120
defect

Tracking

()

People

(Reporter: mstensho, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file tc.html

Steps to reproduce:

See https://www.w3.org/TR/css-break-3/#break-between

This affects the ref in css/css-page/page-name-canvas-001-print-ref.html, and others.

Using Firefox Nightly 120.

Actual results:

break-after:page on the CANVAS element is honored, so that a break is inserted before the next DIV block

Expected results:

No break should occur. The break-after property doesn't apply to inline-level elements.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core

This is most likely a generic layout block fragmentation issue. Maybe "Layout: Columns" is the right component, but unsure, since it also is an issue when printing.

Component: Graphics: Canvas2D → Layout

Thanks for the bug report. Let's classify as Printing: Output since that's where these properties mostly come into play.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Layout → Printing: Output
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: