Re: [whatwg/dom] Adding .closest() to more nodes (#161)

So, it does not make much sense for `Document`, `DocumentType`, `DocumentFragment`, `ShadowRoot`, and `Attr`, if it comes back as a node, but it seems there's at least a use case for `Document`. And if `Document` makes sense, even if it only ever returns null, so does `ShadowRoot`.

If we put it on node we should probably use `[Unscopable]`.

---
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/161#issuecomment-206148296

Received on Wednesday, 6 April 2016 06:41:49 UTC