Re: [csswg-drafts] [css-text] `&ncsp;` - Non-Collapsible Space (#10821)

> forcing all strings to use `white-space: pre;`

Rather than `pre`, you probably want `pre-wrap`, and possibly combine it with `white-space-trim`.

> the user might want two spaces in a particular place within that element

Do you mean that you want some sequences of spaces to collapse, but not others? Why not just preserve all spaces and use a single one instead of multiple wherever you want to see a single one?

> maybe I'm one of those people who insists on two spaces at the end of every sentence

And you want to see both or one?

> any developer who writes   clearly wants that space to be rendered as-is

When I write ` ` I want it to behave like a normal U+0020 space.

> I'm not 100% which standards body is the right one to own this particular issue

- `&ncsp;` would be a new HTML entity, so you should propose this to the WHATWG
 - It would need to map to some character. Presumable a new one, so you would need to propose it to Unicode?

And I don't think they will find this much appealing...

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


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

Received on Saturday, 7 September 2024 12:22:02 UTC