W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Why is DOMContentLoaded event not bubbling?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 4 Aug 2010 23:07:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008042305070.7470@ps20323.dreamhostps.com>
On Sun, 6 Jun 2010, Nickolay Ponomarev wrote:
> 
> Currently DOMContentLoaded is specified [1] with this sentence:
> > Queue a task to fire a simple event named DOMContentLoaded at the
> Document.
> 
> and "fire a simple event" is defined [2] as "does not bubble (except 
> where otherwise stated) and is not cancelable (except where otherwise 
> stated)". So it's not bubbling and, as far as I understand, per [3] it 
> means it doesn't bubble to Window.
> 
> I checked Gecko (trunk), Safari (4), Chrome (6) and in all of them it 
> bubbles to window and reports itself as bubbling.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 4 August 2010 16:07:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC