Re: [whatwg/dom] Add new mutation observer init options elementByAttributeFilter and elementFilter (#885)

@LeaVerou commented on this pull request.



> @@ -3442,6 +3444,19 @@ dictionary MutationObserverInit {
    <a>attribute</a> mutations need to be
    observed and {{MutationObserverInit/attributes}} is true
    or omitted.
+
+   <dt>{{MutationObserverInit/elementByAttributeFilter}}
+   <dd>Set to a list of <a>attribute</a>
+   <a for=Attr>local names</a> (without <a for=Attr>namespace</a>) to observe changes
+   to the presence of an elements <a>attributes</a>.

```suggestion
   to the presence of an element's <a>attributes</a>.
```

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

Message ID: <whatwg/dom/pull/885/review/3583773687@github.com>

Received on Tuesday, 16 December 2025 15:45:52 UTC