- From: Andrew Rottier <notifications@github.com>
- Date: Wed, 12 Aug 2020 15:30:21 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/885@github.com>
Adds additional options when constructing a `MutationObserver`.
MutationObserverInit now contains two additional options: `elementHasAttributeNameFilter` and `elementLocalNameFilter` which are used to enhance the precision of filtering DOM nodes to observe.
See #398 for the background.
<!--
Thank you for contributing to the DOM Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->
- [ ] At least two implementers are interested (and none opposed):
* @rniwa
* @smaug----
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* … TODO
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/master/MAINTAINERS.md#handling-pull-requests) are filed:
* Chrome: …
* Firefox: …
* Safari: …
(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/dom/pull/885
-- Commit Summary --
* initial changes
* remove new lines
* address some pr comments
* fix method to get attribute names
-- File Changes --
M dom.bs (83)
-- Patch Links --
https://github.com/whatwg/dom/pull/885.patch
https://github.com/whatwg/dom/pull/885.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/885
Received on Wednesday, 12 August 2020 22:30:34 UTC