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
Received on Tuesday, 15 May 2012 22:02:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC