W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2016

Re: [csswg-drafts] [cssom-view] Should browser zoom affect screen.width?

From: Botond Ballo via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Sep 2016 19:12:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-246010651-1473448331-sysbot+gh@w3.org>
Ok, thanks. I understand now why reporting the CSS pixel size of the 
viewport (i.e. the spec'd behaviour, and the behaviour implemented by 
Firefox) is the more privacy-friendly one.

Given that, an alternative suggestion would be:

- Leave the spec for `screen.width` as-is (reporting a CSS pixel 
- Add a new variable, such as `window.pageZoom`, to expose the page 
zoom separately. This would also address #449. In privacy mode, this 
could always report 1.

Looping in @jacobrossi to see what the IE team thinks about the 
various options.

GitHub Notification of comment by theres-waldo
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 9 September 2016 19:12:19 UTC

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