W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [mediaqueries4] zoom-ratio as a media feature

From: Rick Byers <rbyers@chromium.org>
Date: Wed, 9 Oct 2013 11:08:18 -0400
Message-ID: <CAFUtAY_-DdPa6O8=bup-sWk2y94rY_G_v91u385ZDP5rELPnbg@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: Alex Bell <alex@bellandwhistle.net>, "www-style@w3.org" <www-style@w3.org>, "eae@chromium.org" <eae@chromium.org>
Note that there's been several recent discussions on blink-dev about this,
eg:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/RyUSi3zdumQ
.
https://code.google.com/p/chromium/issues/detail?id=177836

The consensus was to match FF behavior and update devicePixelRatio and
associated media queries to reflect browser zoom - that this was both
consistent with the standard for the 'resolution' media query, and
sufficient for application needs (with Google Docs as an example of a very
demanding applications here).  There was even rough agreement that this was
better than exposing two separate concepts (pixel ratio and browser zoom
level) to the application - that doing so would just lead to bugs and
applications should be treating both in the same way.

I don't personally have more detailed context than that, but this sounds
like a much better path than introducing another new API.

Rick
Received on Wednesday, 9 October 2013 15:09:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:03 UTC