W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

Re: [whatwg] <picture> redux

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 20 Nov 2013 12:50:25 -0800
Message-ID: <CAAWBYDDOfPA0iuZwF_xpjyuPVsOnwWPoEjK1GHYpczn1=JhyXA@mail.gmail.com>
To: Timothy Hatcher <timothy@apple.com>
Cc: WHATWG List <whatwg@whatwg.org>
On Wed, Nov 20, 2013 at 10:57 AM, Timothy Hatcher <timothy@apple.com> wrote:
>> On Nov 20, 2013, at 10:42 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>>> On Wed, Nov 20, 2013 at 10:31 AM, Timothy Hatcher <timothy@apple.com> wrote:
>>> It does look good to me, though I can't evaluate it from an implementation perspective. I'll defer to others on that.
>>>
>>> Requiring the <img> also also forces backwards comparability for clients that don't support <picture>. (As long as the author gives it a fallback src attribute.)
>>>
>>> One part isn't clear to me yet: what <source> attribute is used for DPR multipliers? Allowing both multipliers and intrinsic widths would be ideal and flexible.
>>
>> <source src> will contain a list of either url/density or url/size pairs.
>
> Can it be srcset so <img srcset> is also usable for simple cases? (Yes respec srcset or anything not named src.)

I don't have strong opinions on the name.

~TJ
Received on Wednesday, 20 November 2013 20:51:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC