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

Boris Zbarsky bzbarsky at MIT.EDU
Tue Apr 28 11:39:00 PDT 2009


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



More information about the whatwg mailing list