Re: [csswg-drafts] [css-fonts][css-viewport] UAs inconsistent in how OS font settings affect the default font-size `medium` (#10674)

Right, the env() would evaluate to the appropriate font size, which is equivalent to 1em in that font size, so instead of `(width: 40rem)` you'd use `(width: calc(40 * env(system-font-size)))`

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


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

Received on Thursday, 12 December 2024 23:12:26 UTC