W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] So if media-queries aren't for determining the media to be used what are they for?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 16 May 2012 00:01:37 +0200
Message-ID: <CADnb78iHAWSQAwVxj5ohT4bZV=aWVApf6PxwNjvgMm8J_T6Y5A@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: whatwg@lists.whatwg.org, Andy Davies <dajdavies@gmail.com>, Bruce Lawson <brucel@opera.com>
On Tue, May 15, 2012 at 11:56 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> Importantly, I think I'd like to be able to use either min or max, but
> @srcset's microsyntax only talks about min sizes. (I got it wrong in
> my previous email.)

Well, it's not a media query. It *describes* the size of the image. A
media query *evaluates* device capabilities. They are completely
different and allow for different resource selection algorithms.


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/
Received on Tuesday, 15 May 2012 22:02:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT