[whatwg] Why is DOMContentLoaded event not bubbling?

Hi,

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. (Gecko also reports it as
cancellable, but it's a bug I think.)

The "fire simple event" wording was added [4] along with the comment that
"the firing of events needs to be unified", but that issue appears to be
resolved now, so is this a spec bug?

Nickolay

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html
[2]
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#fire-a-simple-event
[3]
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#events-and-the-window-object
[4]
http://lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2007/000041.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100606/1511cd3d/attachment.htm>

Received on Saturday, 5 June 2010 15:28:12 UTC