Re: [whatwg/dom] Make it possible to observe connected-ness of a node (#533)

trusktr left a comment (whatwg/dom#533)

Any chance we can add this? It seems like a nice quality of life improvement for something that is otherwise too cumbersome to implement, and simple for an engine to implement because it has access to all internals. 

We currently need hacky code in user space: to observe connectedness of only a single element, we'd need to patch `attachShadow` to make an MO for `document` and _every_ root (like in https://github.com/whatwg/dom/issues/533#issuecomment-2839983366) (how do we even intercept closed declarative shadow roots?).

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

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

Received on Monday, 5 October 2026 04:37:18 UTC