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

@dgp1130 And to be clear, what is the difference between what you need and what `white-space: pre-wrap` provides?

For clarity, [per spec](https://drafts.csswg.org/css-text-4/#white-space-property):

- New lines are preserved
- Text is wrapped
- End of line spaces and separators [hang](https://drafts.csswg.org/css-text-4/#hang): they're ignored for most sizing, but they're otherwise considered significant.
- Other spaces are preserved

Twitter uses this for their post display, since users like to use spaces for text layout in precisely the same way you talk about with CMS users.

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


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

Received on Sunday, 16 February 2025 17:57:31 UTC