- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Oct 2023 13:42:40 +0000
- To: public-css-archive@w3.org
> @LeaVerou My hesitation with `white-space-wrap` is that wrapping is only related to white space in some writing systems, not all of them. In East Asian and Southeast Asian writing systems, for example, wrapping is unrelated to spaces. True, but given we already have `white-space`, hasn't this ship sailed? > > `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`. I like `auto` for "on", and either `none`, `never`, or `nowrap` for off. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9102#issuecomment-1746906890 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 13:42:42 UTC