Hi, Sergey- I have clarified in the DOM3 Events spec [1] that the listener parameter can be an inline function object. Please let us know whether or not this satisfies your issue. [1] http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html Regards- -Doug Schepers W3C Team Contact, SVG, WebApps, and Web Events WGs Web Applications Working Group Issue Tracker wrote (on 12/23/10 7:53 PM): > > 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 01:01:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT