Re: [whatwg/dom] `MutationObserver` flag to observe mutations in (open) shadow trees to facilitate polyfills of HTML syntax (Issue #1287)

WebReflection left a comment (whatwg/dom#1287)

so ... we're here: https://github.com/WebReflection/shadow-observer#shadow-observer

a module that provides `shadow` entry as extension of `MutationObserverInit` type so that `OPEN`, also inferred f `shadow: true` as option, is what you get but `CLOSED` only, when/if needed is there too, and `OPEN | CLOSED` is the "*catch em all*" feature few are asking about:

  * no matters how many *MutationObserver* insta nces you have, you're covered by this module
  * references are weak or *WeakRef* based, you're covered around *RAM* too

**enjoy** 👋

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

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

Received on Thursday, 23 April 2026 15:25:16 UTC