Re: [dom] Add EventListenerOptions and passive event listeners (#82)

>  method, when invoked, must run these steps:
>  
>  <ol>
>   <li><p>If <var>callback</var> is null, terminate these steps.
>  
> + <li>If <var>options</var> is of type boolean, let <var>capture</var> be
> + <var>options</var> and let <var>passive</var> be false.  Otherwise let
> + <var>capture</var> and <var>passive</var> be the corresponding values in the
> + <var>options</var> {{EventListenerOptions}} dictionary.

That is not justification for having default values in the IDL though.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/82/files#r47752084

Received on Wednesday, 16 December 2015 09:20:28 UTC