W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: ISSUE-44 (EventsAndWindow): Should DOM3 Events cover the interaction of events and the Window object? [DOM3 Events]

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Fri, 08 Aug 2008 10:32:24 +0300
Message-ID: <489BF688.7060500@helsinki.fi>
To: Jonas Sicking <jonas@sicking.cc>
CC: Ian Hickson <ian@hixie.ch>, olli@pettay.fi, Web Applications Working Group WG <public-webapps@w3.org>

Jonas Sicking wrote:

>> Is that any load event, or only specific load events? (i.e. is it a 
>> characteristic of the bubbling/capture process, or the events that are 
>> fired by certain circumstances like the end of parsing or an image 
>> being fetched from the network?) If the latter, it would be useful if 
>> the DOM3 Events spec could provde a hook for the HTML5 spec to 
>> annotate certain events as being affected by this exception.
> I think it is all 'load' events except the one fired for the finished 
> load of the actual page.
> I.e. loads for images, stylesheets, plugins, etc had to not reach the 
> Window object.
> I'm uncertain if iframe loads reach the Window or not.
> / Jonas

Any load event which is dispatched somewhere in document (img,
iframe...) stops its propagation to |document|. Since the load event
for page load is dispatched to |window|, that is the only event target
which handles the event.

I think author-dispatched synthetic events should work the same way.

Received on Friday, 8 August 2008 07:35:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:11 UTC