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

> `text-wrap: tidy;` - make all the text nice and tidy without a hair out of place.

It's not obvious how that would differ from `text-wrap: pretty`.

> How about ‘text-wrap: avoid-singles’? It’s linguistically simple and reasonably descriptive about what’s being done.

I don't think "singles" is a readily-understood term in this context. Presumably it's intended to be shorthand for "single words", but we shouldn't be thinking in terms of "words" given that some languages don't use inter-word spaces at all; and with very short words a last line containing two words (so not a "single") could still be very short.

This also doesn't make clear that it relates only to the last line of the block, not to all lines.

> `avoid-short-end-line`
> `prefer-long-end-line`

I think "last line" is more natural than "end line" (which sounds like it's got something to do with the end _of the_ line), and there's precedent for the term "last" in `text-align-last`.

Of the suggestions I've seen so far, I'd favor `avoid-short-last[-line]` as being much the clearest.

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


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

Received on Thursday, 13 March 2025 20:32:41 UTC