W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [cssom-view] Add pageZoomFactor to window interface (#3538)

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Feb 2019 08:23:29 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-460550600-1549355008-sysbot+gh@w3.org>
> pageZoomfactor is usable on some situations yes. Like currently in our case - we want our content not be zoomed at all in any case, I can explain why if anyone interested.

So you want to disable browser zooming on your page. I'm indeed interested why, and I'm also wondering how you can disable that by knowing that factor.

> But CSS zoom is essential for us to render our content properly. What we do is we render iframes into webpages as guest and if and when that page has CSS zoom applied we absolutely
need to know that, because we need to apply the exact same zoom to our content inside the iframe.

You should probably not rely on `zoom` property. It's non-standard, and there are browsers don't support it.

Also, it seems to me when using browser zooming, iframe as well as its content would get that zoomed together automatically. Am I missing something?

GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3538#issuecomment-460550600 using your GitHub account
Received on Tuesday, 5 February 2019 08:23:31 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC