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

Re: srcN - Alternative to picture and srcset

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Oct 2013 21:12:08 -0700
Message-ID: <CAAWBYDAF_ATfF6DwmvXBiLEVMWyfxNAGBbM7BSxoiAbf5KStvw@mail.gmail.com>
To: Jason Grigsby <jason@cloudfour.com>
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
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

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