Re: srcN - Alternative to picture and srcset

On Thu, Oct 3, 2013 at 8:39 PM, Jason Grigsby <jason@cloudfour.com> wrote:
> On Thu, Oct 3, 2013 at 4:42 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> The whole point of that is that you *don't* pair it off.  You're not
>> defining pairs, you're defining a line with breakpoints on it and
>> image sizes between/around them.  That's what my image attempted to
>> illustrate, though I think I need to tweak it a bit to make it even
>> clearer.  Pairing them requires you to remember whether the viewport
>> size is a min or a max, which is the most confusing part of the
>> current extended srcset syntax, and which I was trying to avoid.
>
> Oh, I didn't get that at all.

Which means I need to work harder on my explanation and examples.

> What happens right at the breakpoints?
> Viewport exactly equals 30em or 70em in your example?

Whatever I happened to spec.  ^_^  Looking at the algorithm, right at
the breakpoints it uses the smaller image size.

~TJ

Received on Friday, 4 October 2013 04:12:55 UTC