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

I think there are many properties like this, but for historical reasons they have ended up on `Attr` too. And for historical reasons `DocumentType` is a thing as well.

I guess we have two options here:

1. Just use `Node`.
2. Define a new `TreeNode` mixin that excludes `Attr`. (It seems we include `DocumentType` for other new mixins, such as `ChildNode`.)

I'm inclined to go with 2 if we still want to do this.

-- 
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-372570894

Received on Tuesday, 13 March 2018 07:25:33 UTC