Re: [csswg-drafts] [css-values] Proposal: `sp` and `rsp` space glyph units (#10534)

> While in many cases it is a simple relationship where only 1 glyph represents 1 character, that is definitely not always true.

@nicksherman That certainly would make things more difficult. Does `ch` already take the entire text shaping situation into account?

> why stop at one character and not allow multi-character text strings?

That's the slippery slope I thought might happen. The `ch` unit prompted me to think that a space unit might be possible, then people might want units for other characters at which point a generic function would be more desirable, and then multi-character strings could be called for. It could open up some interesting possibilities but there's not much call for it and probably not the easiest to implement.

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


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

Received on Monday, 8 July 2024 11:19:02 UTC