W3C home > Mailing lists > Public > public-respimg@w3.org > October 2013

Re: srcN - Alternative to picture and srcset

From: John Albin Wilkins <john@albin.net>
Date: Fri, 4 Oct 2013 12:47:19 +0800
Message-ID: <CANNT2X8OKVJLqhgk4okz4tDYbt-2_tEdW39D9O4oSnu8Lf9oag@mail.gmail.com>
To: Jason Grigsby <jason@cloudfour.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "public-respimg@w3.org" <public-respimg@w3.org>
> Whatever I happened to spec.  ^_^  Looking at the algorithm, right at
> the breakpoints it uses the smaller image size.

Can we flip that around? Using smaller image sizes at the breakpoint means
it is currently speced the exact opposite of what mobile-first media query
best practices use: the non-MQ layout is for mobile and larger layouts are
defined to be used at the breakpoint and larger viewports with MQ using
min-width values.

Writing mobile-first style media queries that work only above a certain
minimum viewport width looks impossible to me since min-width means
"greater than or equal" and there is no MQ syntax for just "greater than".

The problem is that mobile-first is a best practice and not a universal
practice. There are plenty of sites that retrofitted their site to be
responsive; meaning they are desktop-first.

Still, it would be nice if the spec favored mobile-first and the
work-arounds were left for the legacy, retrofitted sites to figure out. :-)

- JohnAlbin

On Friday, October 4, 2013, Jason Grigsby wrote:

> On Thu, Oct 3, 2013 at 9:12 PM, Tab Atkins Jr. <jackalmage@gmail.com<javascript:_e({}, 'cvml', 'jackalmage@gmail.com');>
> > wrote:
>
>> Whatever I happened to spec.  ^_^  Looking at the algorithm, right at
>>  the breakpoints it uses the smaller image size.
>>
>
> So it is effectively max-width, right?
>
>
>
Received on Friday, 4 October 2013 04:47:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:12:40 UTC