Implement Node.isEqualNode

Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode

Closes #1645.
This commit is contained in:
Bruno de Oliveira Abinader 2014-02-09 04:21:51 -04:00
parent f26cdcf235
commit 4d4495b015
4 changed files with 123 additions and 3 deletions

View file

@ -69,7 +69,7 @@ interface Node : EventTarget {
[Throws]
Node cloneNode(optional boolean deep = true);
// boolean isEqualNode(Node? node); //XXXjdm we don't deal well with Node? parameters
boolean isEqualNode(Node? node);
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;