- From: Alexey Shvayka <notifications@github.com>
- Date: Wed, 22 Jan 2020 07:05:22 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 January 2020 15:05:24 UTC
In [**replace all**](https://dom.spec.whatwg.org/#concept-node-replace-all), `addedNodes` is either a _list_ (step 2) or a _set_ (step 3). In [**replace**](https://dom.spec.whatwg.org/#concept-node-replace), `removedNodes` has only one element and can be safely changed to a _set_ to match type of `removedNodes` in [**replace all**](https://dom.spec.whatwg.org/#concept-node-replace-all) and [**insert**](https://dom.spec.whatwg.org/#concept-node-insert). You can view, comment on, or merge this pull request online at: https://github.com/whatwg/dom/pull/823 -- Commit Summary -- * Editorial: make type of {added,removed}Nodes consistent -- File Changes -- M dom.bs (4) -- Patch Links -- https://github.com/whatwg/dom/pull/823.patch https://github.com/whatwg/dom/pull/823.diff -- 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/823
Received on Wednesday, 22 January 2020 15:05:24 UTC