[webkit-dev] The SrcN responsive images proposal
Elliott Sprehn
esprehn at chromium.org
Thu Nov 7 15:49:11 PST 2013
On Thu, Nov 7, 2013 at 3:39 PM, Timothy Hatcher <timothy at apple.com> wrote:
> On Nov 7, 2013, at 2:22 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
>
> > On Thu, Nov 7, 2013 at 9:24 AM, Timothy Hatcher <timothy at apple.com>
> wrote:
> >> On Nov 6, 2013, at 4:26 PM, John Mellor <johnme at chromium.org> wrote:
> >>> I've suggested before that the attributes could be combined if that's
> >>> considered simpler. My only concern is that most developers aren't
> used to
> >>> putting line breaks in html attributes, so might feel obliged to put
> all the
> >>> alternatives on one line, harming readability. But as long as the
> developer
> >>> documentation encourages line breaks, that could be fine...
> >>
> >> As I replied before, there should only be one attribute — srcset. Given
> that
> >> your micro format extends around parts of the existing micro format of
> >> srcset, it just makes sense to reuse the same attribute. Wishing srcset
> >> didn't exist doesn't make it go away.
> >
> > srcset doesn't significantly "exist" yet. It's in one browser's
> > nightly. I'd like to resolve this soon, but it doesn't help anything
> > to pretend that it's already a done deal that must be engineered
> > around.
>
> It is shipping in Safari 6.1, 7 and iOS 7. That ship has sailed.
>
>
Can you please clarify this, I just tested in Safari 6.1 and 7 and I don't
see srcset on HTMLImageElement. What do you mean it's shipped?
document.createElement('img').srcset is undefined.
- E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20131107/700c4abb/attachment.html>
More information about the webkit-dev
mailing list