Re: capturing load events

Hallvord R. M. Steen <hallvord@opera.com> escreveu:

> On Thu, 28 Dec 2006 16:33:43 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>  
> wrote:
>
>> It also means that a
>>
>>   window.addEventListener('load', func, true);
>>
>> listener would never be triggered. Presumably that should be changed
>> to say that it would be triggered only if the event's target is the
>> Document. Do you see any problem with that?
>
> No, I agree it should change.
>

So there will be an exception only for the load event.
And now this won't fire a single time

   window.addEventListener('load', func, true);

and we introduce another problem, since scripts require that event  
listener to be fired only once, with the document as target.

Received on Friday, 29 December 2006 01:13:32 UTC