Re: [csswg-drafts] [css-viewport] [css-zoom] Should zoom affect iframes? (#9644)

I propose that zoom be applied to all sub-frames (including cross-origin), and be observable to developers via an adjusted `window.devicePixelRatio` (e.g. an "inherited" `zoom` of 2 for a frame would double its `window.devicePixelRatio`). This aligns with how browser zoom and screen density work.

It is also analogous to how `color-scheme` propagates to sub-frames (including cross-origin ones).

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


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

Received on Wednesday, 6 December 2023 03:38:09 UTC