Implement Node.contains

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

Closes #1647.
This commit is contained in:
Bruno de Oliveira Abinader 2014-02-09 10:39:07 -04:00
parent 9305a95b68
commit 99b3b144d4
4 changed files with 33 additions and 4 deletions

View file

@ -323,7 +323,8 @@ DOMInterfaces = {
'nodeValue',
'removeChild',
'textContent',
'childNodes'
'childNodes',
'contains',
]
},