Re: [csswg-drafts] [css-values] hem: font-relative unit, relative to host element font-size (#7613)

I guess, if I think about it, the custom unit might be a little too flexible in a team setting. There's no guarantee that `--hem` will be exclusively set only in `:host` selectors.  Not unless there's some way you can set a rule to enforce that, preferably without linters or build tools.

I do like that we could flexibly use custom units to address both web component scale and container scale mentioned by @Que-tin.  I can imagine I'll find other uses for them also, you gave me something new to look forward to!

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


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

Received on Friday, 19 August 2022 19:22:17 UTC