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

@VoxelPrismatic I could see that working as well:

- `... &zwnj;<div>...` would achieve the same as `white-space-trim` without `discard-before`.
- `...</div>&zwnj; ...` would achieve the same as `white-space-trim` without `discard-after`.
- `...<div>&zwnj; ... &zwnj;</div>...` would achieve the same as `white-space-trim` without `discard-inner`.
- `... &zwnj;<div>&zwnj; ... &zwnj;</div>&zwnj; ...` would achieve the same as `white-space-trim: none`.

[Screen readers do seem to ignore them](https://remysharp.com/2024/07/23/screen-reading-eff-eff-conf), so it shouldn't present an accessibility problem.

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


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

Received on Wednesday, 12 February 2025 17:08:19 UTC