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

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