W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Implementation complexity with elements vs an attribute (responsive images)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 12 May 2012 11:07:19 -0400
Message-ID: <4FAE7CA7.2020701@mit.edu>
To: whatwg@lists.whatwg.org
On 5/12/12 9:28 AM, Mathew Marquis wrote:
> While that information may be available at the time the img tag is parsed, I donít believe it will be available at the time of prefetching

Which information?

At least in Gecko, prefetching happens "when the tag is parsed".

So in fact in Gecko the srcset approach would be much more amenable to 
prefetching than the <picture> approach.

-Boris
Received on Saturday, 12 May 2012 15:07:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT