Re: [csswg-drafts] [css-viewport-1] Specify relationship between zoom and font properties (#12358)

> This is basically a less general issue of [w3c/css-houdini-drafts#1080](https://github.com/w3c/css-houdini-drafts/issues/1080) right?

I don't think it's circular in this case. The computed style (as observed by the developer via `getComputedStyle`) is not affected by zoom. They can think entirely in terms of pre-zoomed CSS pixels in their style sheets. Zoom applies on top.

Therefore `zoom` won't affect the computed value of `font-size` and there is no circularity.

So I think in this case it should use the current element's font, if that is what is done for other properties that put `em` in calc expressions.

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


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

Received on Thursday, 19 June 2025 18:59:05 UTC