Re: [csswg-drafts] [css-text-4] move "balance | stable | pretty" out of text-wrap (#9102)

> `text-wrap-allow` seems pretty good to me. Does anyone have a preference for something other than that?

Seems OK.

With what values? Taking `text-wrap-allow` in isolation, `yes | no` or `on | off` would seem natural; but given that we already have `nowrap` as the "off" value in the `white-space` shorthand, we probably want to keep that the same in the longhand as well.

Then do we use `wrap` for the "on" value? `text-wrap-allow: wrap` feels slightly clumsy, IMO. `normal` would be a possibility (though it's a pity it starts with the same letters as `nowrap`). `auto` is shorter, and reads quite well, I think.

So I'm leaning towards either

     text-wrap-allow: auto | nowrap

or

    text-wrap-allow: wrap | nowrap

where (to my mind) the first reads better, but the second has the advantage of paralleling `flex-wrap`.


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


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

Received on Wednesday, 4 October 2023 08:02:49 UTC