W3C home > Mailing lists > Public > public-html@w3.org > January 2009

RE: online/offline events and bubbling

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 21 Jan 2009 11:43:37 +0000 (UTC)
To: Adrian Bateman <adrianba@microsoft.com>, Jonas Sicking <jonas@sicking.cc>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0901211108080.7181@hixie.dreamhostps.com>

On Tue, 30 Dec 2008, Adrian Bateman wrote:
> > 
> > Your interpretation is correct in that the spec currently says that 
> > the 'online' and 'offline' events don't bubble. However, this is 
> > actually an open issue. The intent is for the 'online' and 'offline' 
> > events act just like the 'load', 'hashchange', and other events that 
> > have event handlers on the <body> but are really more complicated than 
> > that in various ways. I haven't properly specified how that should 
> > work yet, as I'm not sure how it really should work and it may be that 
> > the DOM3 Events spec takes care of this detail and HTML5 will just be 
> > able to refer to what DOM3 Events says.
> 
> Thanks Ian. Is this something that will be resolved soon? We're trying 
> to lock down the platform behaviour for IE8 and we don't want to guess 
> at a behaviour that ends up being different to what the spec changes to.

I've specced this out now. The events (load, hashchange, online, etc) all 
just fire at the Window object now, and are exposed as event handler 
attributes on the <body> for convenience.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 21 January 2009 11:44:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC