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

Re: [mediaqueries] resolution and device-pixel-ratio

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 10 Nov 2013 09:08:21 -0800
Message-ID: <CAAWBYDCwTUQCX750aRnd0qwrD3OP1oU46Kb+bRYgqmgSjz_kuQ@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Sat, Nov 9, 2013 at 7:50 AM, Florian Rivoal <florian@rivoal.net> wrote:
> During a recent conf call, while discussing the resolution and
> device-pixel-ratio media queries, it seemed that many people suggested that
> the "resolution" MQ has failed, and that we should pave the cow paths, and
> standardize device-pixel-ratio, possibly as an alias to resolution.
> Technically, this would not be difficult, but we had explicitly decided to
> do the opposite when we finished MQ3. I am not sure if this change of
> position reflects a change in opinion across the WG, or merely who was
> attending this particular conf call.
> This is what we wrote about it back then:
> http://www.w3.org/blog/CSS/2012/06/14/unprefix-webkit-device-pixel-ratio/
> Similarly, MDN advises against device-pixel-ratio in favor of resolution:
> https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries#-moz-device-pixel-ratio
> As far as I know:
> Gecko and Blink (and Presto) supports resolution, including the dppx unit.
> IE has it without the dppx unit.
> Webkit sticks to -webkit-device-pixel-ratio only
> Resolution is more interoperable than when we chose it as the path forward,
> so I am not sure I understand why this is being reopened.
> At this stage, I think what is relevant is not some much anyone's (me
> included) naming preference, but what browser vendors plan to do.

Agreed.  While the support for 'resolution' is relatively recent, it's
still clearly the interoperable solution now, except for WebKit.  No
reason to reopen this.

Received on Sunday, 10 November 2013 17:09:08 UTC

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