W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] Link.onload; defer on style, depends

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 Apr 2009 11:39:00 -0700
Message-ID: <49F74D44.6070504@mit.edu>
Ian Hickson wrote:
> Ah, yes. good point. I can require that relatively simply (just have the 
> tasks that are queued for 'load' events themselves delay the page's load 
> event)

That's exactly what Gecko does.

> should I?

I'd prefer that, but I'd be interested in feedback from other implementors.

> It seems like you can still get into weird conditions, 
> like what if you have this situation:
> 
>    <body onload="">
>      <img src=a onload="setTimeout(f, 100)">

Yes, I called that out earlier in this thread, no?

-Boris
Received on Tuesday, 28 April 2009 11:39:00 UTC

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