- From: Derek Gray <notifications@github.com>
- Date: Mon, 31 Oct 2016 07:37:11 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 31 October 2016 14:37:44 UTC
https://dom.spec.whatwg.org/#concept-node-equals At first thought it seems like you could check for sameness as a first step and return `true` early if possible. Are there any potential issues with such an approach? If so, could the reasoning be noted in the specification? - [WebKit does not check for sameness](https://github.com/WebKit/webkit/blob/9a8e6b0ca9a0cc5a0cfb0f7177526b217ea6ee75/Source/WebCore/dom/Node.cpp#L1256) - [Gecko does not check for sameness](https://github.com/mozilla/gecko-dev/blob/802e7b16f9ea42599aa6e03189babecfb49d6f9b/dom/base/nsINode.cpp#L991) -- 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/360
Received on Monday, 31 October 2016 14:37:44 UTC