- From: Justin Fagnani <notifications@github.com>
- Date: Fri, 24 Jun 2016 13:36:58 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc:
Received on Friday, 24 June 2016 20:37:33 UTC
To add a different use case, for which I don't think suppress would work, in the Custom Elements v1 polyfill, I want to be able to observe the main document and the roots of several disconnected DOM trees. If any of the observed roots are added to another, then I want to unobserve the root of the child subtree because the subtree is now being observed by the parent subtree's observer. I would propose adding an `unobserve()` method to parallel `observe()`, rather than change `disconnect()`. As for the record queue, I'd still need records from the unobserved subtree, so would prefer they remain, but could do a takeRecords() if necessary. --- 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/issues/126#issuecomment-228455689
Received on Friday, 24 June 2016 20:37:33 UTC