Re: srcN - Alternative to picture and srcset

> 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