WebApps-ISSUE-174 (inline function listener): Clarify addEventListener/removeEventListener listener argument type [DOM3 Events]

WebApps-ISSUE-174 (inline function listener): Clarify addEventListener/removeEventListener listener argument type [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/174

Raised by: Doug Schepers
On product: DOM3 Events

Sergey Ilinsky <http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0198.html>:
[[
It does not come clear from the specification that the second argument of
addEventListener/removeEventListener functions can also be a function object
(apart from a specified type - an object that implements EventListener
interface)

For new implementers this information is vital.
]]

Received on Friday, 24 December 2010 00:53:17 UTC