Consider making useCapture parameter of add/removeEventListener optional [ISSUE-134]

Hi, Sergey-

I have changed the DOM3 Events spec [1] to make the useCapture parameter 
of add/removeEventListener optional.

As Garrett Smith suggested, I have also added an authoring note that 
omitting the 3rd parameter may cause problems in older browsers.

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 9/30/10 1:00 AM):
>
> ISSUE-134 (optional useCapture): Consider making useCapture parameter of add/removeEventListener optional [DOM3 Events]
>
> http://www.w3.org/2008/webapps/track/issues/134
>
> Raised by: Doug Schepers
> On product: DOM3 Events
>
> Sergey Ilinsky<http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0195.html>:
> [[
> There are modern browsers that made 3rd argument in the
> addEventListener/removeEventListener be optional. Is this a legal step?
> If I understand correctly, specification requires 3rd argument to be passed,
> thus the new behaviour not backed by the change
> in specification only destabilizes web as a platform.
>
> Personally, I like the behaviour, but cannot use it as long as not every
> browser does that.
> ]]
>

Received on Friday, 24 December 2010 01:12:21 UTC