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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 7 Dec 2013 09:39:46 +1300
Message-ID: <CAOp6jLb_f3-wBod4UHE_LnUB5tP2Qxe2nRa=G=798fqaBHce6A@mail.gmail.com>
To: Alex Bell <alex@bellandwhistle.net>
Cc: Rick Byers <rbyers@chromium.org>, Simon Sapin <simon.sapin@exyr.org>, "www-style@w3.org" <www-style@w3.org>, "eae@chromium.org" <eae@chromium.org>
On Thu, Oct 10, 2013 at 5:46 AM, Alex Bell <alex@bellandwhistle.net> wrote:

> There's a demonstrated desire of authors to be able to detect zoom
> independently of dPR, for all sorts of reasons. One use case is
> accessibility: a css layout for low-sighted users who have their browser
>  zoom set to a massive multiplier. This currently breaks layout on most
> sites, even responsive ones. (Setting media breakpoints in ems fixes some,
> but not all of the problems.)

When zooming breaks the layout of a page, that means the page lays out
poorly when the viewport size in CSS pixels takes on certain values
(usually, unexpectedly small values). That just needs to be fixed.
Knowledge of zoom ratio won't help, since exactly the same errors will
occur if the page is loaded on an unexpectedly small screen without zooming.

> Another use case would be the artistic one, in which content or layout
> changes creatively on zoom, allowing user to create exploratory
> layouts-within-layouts that users can pinch-zoom their way into and around.

That sounds legitimate. However, pinch zooming does not effect
'resolution'/DPR etc per spec.

Personally I think we should avoid introducing new ways to expose zoom
ratios until the existing APIs are standardized, interoperably implemented
and properly understood by authors, or we're just going to add to the

Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Friday, 6 December 2013 20:40:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:37 UTC