[whatwg/dom] MutationObserver attribute filter ignores attributes with a namespace (Issue #1364)

josepharhar created an issue (whatwg/dom#1364)

### What is the issue with the DOM Standard?

When the attributesFilter property is used for a MutationObserver, attributes with namespaces are unconditionally excluded from getting mutation records:

https://dom.spec.whatwg.org/#queueing-a-mutation-record

> type is "attributes", options["[attributeFilter](https://dom.spec.whatwg.org/#dom-mutationobserverinit-attributefilter)"] [exists](https://infra.spec.whatwg.org/#map-exists), and options["[attributeFilter](https://dom.spec.whatwg.org/#dom-mutationobserverinit-attributefilter)"] does not [contain](https://infra.spec.whatwg.org/#list-contain) name or namespace is non-null

I don't know any of the history here, but this capability was asked for here: https://issues.chromium.org/issues/392661412

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1364
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1364@github.com>

Received on Friday, 14 March 2025 18:14:51 UTC