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

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

From: James Graham <jgraham@opera.com>
Date: Sat, 12 May 2012 18:19:12 +0200 (CEST)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Message-ID: <alpine.DEB.2.02.1205121810260.22566@sirius>
Cc: whatwg@lists.whatwg.org
On Sat, 12 May 2012, Boris Zbarsky wrote:

> 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.

Yes, I should have mentioned that is also true in the various types of 
optimistic resource loading/parsing that Opera does e.g. the delayed 
script execution mode and the speculative tokenisation feature.
Received on Saturday, 12 May 2012 16:19:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC