W3C home > Mailing lists > Public > public-webapi@w3.org > December 2006

Re: capturing load events

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Fri, 29 Dec 2006 01:13:31 -0000
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: "Web APIs WG" <public-webapi@w3.org>
Message-ID: <op.tlaq0tcejz3wb9@dragast>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC