[csswg-drafts] [css-contain-3] Add container-font relative units (#8855)

mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-3] Add container-font relative units  ==
In https://github.com/w3c/csswg-drafts/issues/7858, there was mention of `cqem` as a useful alternative to `rem` units - based on the container font size, rather than the root font size. This seems like it could be useful for line height as well:

- `rem` => `cqem`
- `rlh` => `cqlh`

Less essential, but also worth considering (I don't think these have root versions?):

- `ex` => `cqex`
- `ch` => `cqch`


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8855 using your GitHub account


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

Received on Thursday, 18 May 2023 18:16:33 UTC