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

Boris Zbarsky bzbarsky at MIT.EDU
Sat May 12 08:07:19 PDT 2012


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



More information about the whatwg mailing list