Implement orphans and widows
Categories
(Core :: Layout: Block and Inline, enhancement, P3)
Tracking
()
People
(Reporter: mikko.rantalainen, Unassigned, NeedInfo)
References
(Depends on 1 open bug, Blocks 4 open bugs)
Details
(8 keywords)
Attachments
(1 file)
(deleted),
text/html
|
Details |
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Updated•23 years ago
|
Comment 6•22 years ago
|
||
Updated•21 years ago
|
Comment 8•21 years ago
|
||
Comment 9•19 years ago
|
||
Comment 10•19 years ago
|
||
Reporter | ||
Comment 11•19 years ago
|
||
Updated•15 years ago
|
Comment 12•15 years ago
|
||
Updated•14 years ago
|
Comment 13•11 years ago
|
||
Updated•11 years ago
|
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment 17•7 years ago
|
||
Updated•7 years ago
|
Comment 18•7 years ago
|
||
Updated•7 years ago
|
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Updated•7 years ago
|
Comment 21•7 years ago
|
||
Comment hidden (advocacy) |
Comment 23•5 years ago
|
||
(In reply to Zack Weinberg (:zwol) from comment #12)
Orphan and widow control is also supposed to apply to individual columns in
CSS3 multicolumn mode (see
http://www.w3.org/TR/css3-multicol/#filling-columns). That might be
implementable separately from the page-break controls.
I created bug 1562420 for that purpose.
Updated•5 years ago
|
Comment 25•4 years ago
|
||
Note that widows-004a test is incorrect:
Several months ago, someone (can't remember who) corrected accordingly widows-004a test.
Comment 28•4 years ago
|
||
I see that this issue is now 19 years old. I see at https://caniuse.com/?search=orphan that all browsers have been supporting widows and orphans for quite some time now expect for Firefox. I also see at https://drafts.csswg.org/css-break-3/#widows-orphans that widows and orphans are now part of the "CSS Fragmentation Module Level 3 Breaking the Web, one fragment at a time Editor’s Draft, 6 February 2021" I see at https://developer.mozilla.org/en-US/docs/Web/CSS/orphans that they now recommend to extends orphans to apply to any type of fragment, including pages, regions, or columns in the Candidate Recommendation in the CSS Fragmentation Module Level 3. This besides CSS Level 2 revised on fragmentation.
This expansion of fragmentation and the option to use orphans and widows on columns and other elements would really help out a lot of people setting up content properly. CSS Columns has been something we have been wanting to work newspaper style with interconnected columns for a long time, but we miss solid control on column endings. With better support for orphans and widows and better support for fragmentation in general we would be really helped.
Firefox as a forefront figher should help push on the web and make working with content as pleasurable as possible. Now I see Chrome and Edge further ahead while this had never been the case in the past. Please let's forge on!
Updated•3 years ago
|
Comment 30•3 years ago
|
||
Just a side note: widows
and orphans
are the only two CSS properties of CSS 2 that aren't supported by Gecko yet. See https://css3test.com and select the "CSS 2.2" filter.
Sebastian
Updated•2 years ago
|
Comment 32•1 year ago
|
||
Jonathan, is the analysis by Jeremy and you from comment #19 still correct?
I had a quick conversation with Emilio lately about the line-clamp
, lately, which seems related regarding fragmentation and line counting. And he said, that the implementation of line-clamp
requires a lot of changes in the fragmentation logic. So I assume this is also the case here, as well. Though, on the other hand, once implemented, both could benefit from that.
For what it's worth, the usage statistics for orphans
and widows
are more than 3%.
Sebastian
Description
•