Open Bug 1822586 Opened 2 years ago Updated 2 years ago

[css-text] Implement wrap-before/wrap-after properties

Categories

(Core :: Layout: Text and Fonts, enhancement)

enhancement

Tracking

()

People

(Reporter: TYLin, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed)

wrap-before/wrap-after properties specify modifications to break opportunities in line breaking (and flex line breaking). https://drafts.csswg.org/css-text-4/#wrap-before

As of 2023-03-15, no browser engine implements these properties.

Bug 1270891 removes the support from an old flex spec that uses page-break-before/page-break-after to break flex lines in unfragmented environment. The removed code might be useful to implement wrap-before/wrap-after:flex.

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