Open Bug 1675322 Opened 4 years ago Updated 2 months ago

`break-after: always` introduces column break only in print mode

Categories

(Core :: Layout: Columns, defect, P3)

defect

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(3 files)

Attached file break-after.html
  1. Open the attachment
  2. See what happens
  3. Try printing the page
  4. See what happens again

Expected: A column break after "welsh"
Actual: It only happens in print mode

Component: Layout → Layout: Columns

TYLin: Any ideas?

Severity: -- → S3
Flags: needinfo?(aethanyc)
Priority: -- → P3

We simply don't support break-after well. We currently make CSS2 page-break-after an alias of break-after, but in the latest spec, break-after: always should break depending on the element's context. https://drafts.csswg.org/css-break-4/#valdef-break-before-always

URL: 412563
Depends on: 683043
Flags: needinfo?(aethanyc)
URL: 412563
See Also: → 412563

Are there any workarounds for this bug?

Is this related to my "break-before: avoid" doesn't seem to have any effect in Firefox (in a multi-column layout)?
Works in Chrome.

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

Attachment

General

Created:
Updated:
Size: