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

I'm not sure this would address your use case as you intended, since units compute to an absolute length before inheriting. So for example, if I set `html { word-spacing: 0.5sp; }` on the root, the extra spacing would be the same handful of pixels on `h1` as it is on `p`.

I think your codepen shows some reasonable use cases though, so it's worth thinking about how to make this kind of thing work...

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


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

Received on Monday, 7 October 2024 20:29:14 UTC