[whatwg] Features for responsive Web design
jeremy at adactio.com
Wed May 16 04:46:13 PDT 2012
> 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.
a d a c t i o
More information about the whatwg