On Wed, 25 Feb 2009, Olli Pettay wrote: > > 'load' is a special event in many ways. 'load' events dispatched somewhere in > document (for example for <img>) don't propagate to 'window'.
(for capture -- they don't bubble) > And the 'load' event which is dispatched to 'window', has 'document' as > its target. This all is required for backwards compatibility. The HTML5 spec now requires all of the above. > This is related to http://www.w3.org/2008/webapps/track/issues/44 As far as I can tell, all the requirements are now in HTML5, so DOM Events can avoid talking about Window if it wants to avoid dependencies on HTML5. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'