On 1/7/2013 6:22 PM, Glenn Maynard wrote:
On Mon, Jan 7, 2013 at 2:02 PM, Ben Lerner <blerner@cs.brown.edu> wrote:
(Note: These comments are based on the 04 Sep 2012 draft of the spec.)  

I strongly recommend using DOM4, which has a much more precise definition of the behavior of DOM Events.  http://dom.spec.whatwg.org/

Agreed -- DOM4 is much more explicit, but it's also not as complete as DOM3 Events.  For instance, it makes no mention of HTML handlers at all.  (Personally, I think it's great to make handlers even less prominent ;-)  But it does make it less clear how HTML's handlers ought to interact, or not explicitly that they are a distinct concept from the listeners here.)

Why the change in terms?  Then, HTML5 strongly distinguishes handlers from listeners (sec handlers wind up registering the same listener, and the relative ordering of handlers and listeners are carefully defined.  And that listener can never be removed; it can merely be made impotent if the event handler content attribute is set to null.

(I think you mean http://www.w3.org/html/wg/drafts/html/master/webappapis.html#event-handler-attributes