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

>   <dd>
>    Appends an <a>event listener</a> for <a>events</a> whose {{Event/type}} attribute value
>    is <var>type</var>. The <var>callback</var> argument sets the <b>callback</b> that will
> -  be invoked when the <a>event</a> is <a>dispatched</a>. When set to true,
> -  the <var>capture</var> argument prevents <b>callback</b> from being invoked when
> +  be invoked when the <a>event</a> is <a>dispatched</a>.
> +
> +  The <var>options</var> argument sets listener-specific options.  For compatibility this can be
> +  just a boolean, in which case it determines the value of the <b>capture</b> option.
> +
> +  When set to true,
> +  the <var>capture</var> option prevents <b>callback</b> from being invoked when

`<var>capture</var>` is no longer a variable so this seems wrong.

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

Received on Tuesday, 15 December 2015 10:10:30 UTC