Re: [csswg-drafts] [css-text-4] typographic widows/orphans (#2396)

In https://clagnut.com/blog/2424/ I wondered about a value for `text-wrap` whose sole purpose is to prevent widows, without any other formatting involved. One could borrow a bit from the widows property:

`text-wrap: 2 widows`

Where `2` in this case specifies the minimum number of words allowed on the final line of a text block. There would have to be slightly more to it than this, in particular a single word should be allowed if the final two words together would be too long to fit inside the text block.

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


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

Received on Wednesday, 8 March 2023 09:37:27 UTC