[Bug 13684] Event handler attributes should reregister each time they are changed (?)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13684

--- Comment #15 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-07 04:17:05 UTC ---
Search for the following text (also partly quoted in comment 5 above):

-----8<-----
All event handlers on an object, whether an element or some other object, and
whether set to null or to a Function object, must be registered as event
listeners on the object when it is created, as if the addEventListener() method
on the object's EventTarget interface had been invoked, with the event type
(type argument) equal to the type corresponding to the event handler (the event
handler event type), the listener set to be a target and bubbling phase
listener (useCapture argument set to false), and the event listener itself
(listener argument) set to do nothing while the event handler's value is not a
Function object, and set to invoke the call() callback of the Function object
associated with the event handler otherwise.

Note: Event handlers therefore always run before event listeners attached using
addEventListener().

Note: The listener argument is emphatically not the event handler itself.
-----8<-----

If I understand correctly, this bug is about changing this so that instead of
this happening when the element is created, it happens when the event handler
is first set to something other than null.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 7 October 2011 04:17:09 UTC