Re: [whatwg/dom] Add a note about duplicate event listeners for removeEventListener (#722)

foolip approved this pull request.

LGTM % nits

> @@ -1216,6 +1216,9 @@ method, when invoked, must run these steps:
  with the <a>context object</a> and that <a>event listener</a>.
 </ol>
 
+<p class="note">The event listener list will not contain duplicate event listeners matching
+<var>type</var>, <var>callback</var>, and <var>capture</var> because the <a>add an event listener</a> concept does not add duplicates.

```suggestion
<var>type</var>, <var>callback</var>, and <var>capture</var> because <a>add an event listener</a> does not add duplicates.
```

> @@ -1216,6 +1216,9 @@ method, when invoked, must run these steps:
  with the <a>context object</a> and that <a>event listener</a>.
 </ol>
 
+<p class="note">The event listener list will not contain duplicate event listeners matching

```suggestion
<p class="note">The event listener list will not contain multiple event listeners matching
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/722#pullrequestreview-181988210

Received on Wednesday, 5 December 2018 21:47:16 UTC