W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-mediaqueries][css3-values]

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 25 Apr 2012 17:28:26 -0700
Message-Id: <78F7FB37-B8FF-4AEF-A010-4C7CD319E784@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: Florian Rivoal <florianr@opera.com>
On Apr 25, 2012, at 5:31 AM, "Florian Rivoal" <florianr@opera.com> wrote:

> On Tue, 24 Apr 2012 23:05:29 +0200, Seo Sanghyeon <sanxiyn@gmail.com> wrote:
> 
>> css3-values defines 3 resolution units: dpi, dpcm, dppx.
>> http://www.w3.org/TR/css3-values/#resolution
>> 
>> But css3-mediaqueries mentions only dpi and dpcm. Is it
>> intentional that css3-mediaqueries support only these
>> resolution units?
> 
> <resolution> was first created in media-queries, then extended
> in css3-images to support dppx, and finally collected in
> css3-values, so that other specs can refer to it easily.
> 
> The intention is that dppx should be usable everywhere
> <resolution> is used. The media query level 3 spec does not
> reflect that simply because it was frozen before dppx was
> devised, and we don't want to move the bar of what it means
> to be a conforming implementation of media queries.
> 
> It is possible to support media queries without having dppx.
> But any implementation that supports dppx is expected to
> allow it in media queries as well

If if some do and others don't, it can be used as a CSS hack to select by UA engine. 
Received on Thursday, 26 April 2012 00:29:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT