Hi,<br><br>Currently DOMContentLoaded is specified [1] with this sentence:<br>> Queue a task to fire a simple event named DOMContentLoaded at the Document.<br><br>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.<br><br>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.)<br>
<br>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?<br><br>Nickolay<br>
<br>[1] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html">http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html</a><br>[2] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#fire-a-simple-event">http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#fire-a-simple-event</a><br>
[3] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#events-and-the-window-object">http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#events-and-the-window-object</a><br>
[4] <a href="http://lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2007/000041.html">http://lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2007/000041.html</a><br><br>