Re: [csswg-drafts] [css-text] Rename `text-wrap-style: avoid-orphans` (#11283)

> Whatever this issue comes up with, it would be nice to add the same alias to the orphans property, to show that these 2 are linked

Well, first, `orphans` is not the property that maps to this idea, it's `widows`. But more importantly, the CSS `widows` and `orphans` properties don't affect how many words are on the first or last line, they affect how many lines exist before/after a page/column break.

I do agree we should rename those two properties. But that feels like a separate effort. 

`avoid-short-last-line` doesn't easily become `avoid-too-few-last-lines-in-this-column`

Plus this is a value, and those are properties....

Seems like those should become something like:
- `break-block-start-line-minimum: 3`
- `break-block-end-line-minimum: 2`

… to be bikeshed in a new issue.

-- 
GitHub Notification of comment by jensimmons
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11283#issuecomment-2749565289 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 March 2025 22:46:21 UTC