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

Re: [whatwg] Features for responsive Web design

From: Jeremy Keith <jeremy@adactio.com>
Date: Wed, 16 May 2012 12:46:13 +0100
Message-Id: <E1C87DDE-FB8F-4BB5-88EC-C19410487850@adactio.com>
To: whatwg <whatwg@lists.whatwg.org>
Tab wrote:
> I suspect this is simply confusion about the proposal - @srcset
> handles the "art-directed" case same as <picture>, just with a
> somewhat more compact microsyntax rather than using MQs directly.

You're right. I was thinking that the values (Nh Nw Nx) described the *image* but in fact they describe (in the case of Nh and Nw) the viewport and (in the case of Nx) the pixel density of the screen/device.

I suspect I won't be the only one to make that mistake.

I can see now how it does handle the art-direction case as well. I think it's a shame that it's a different syntax to media queries but on the plus side, if it maps directly to imgset in CSS, that's good.


Jeremy Keith

a d a c t i o

Received on Wednesday, 16 May 2012 11:46:55 UTC

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