mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement Node.contains
Spec: http://dom.spec.whatwg.org/#dom-node-contains Closes #1647.
This commit is contained in:
parent
9305a95b68
commit
99b3b144d4
4 changed files with 33 additions and 4 deletions
|
@ -78,7 +78,7 @@ interface Node : EventTarget {
|
|||
const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
|
||||
const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; // historical
|
||||
unsigned short compareDocumentPosition(Node other);
|
||||
//boolean contains(Node? other); //XXXjdm we don't deal well with Node? parameters
|
||||
boolean contains(Node? other);
|
||||
|
||||
DOMString? lookupPrefix(DOMString? namespace);
|
||||
DOMString? lookupNamespaceURI(DOMString? prefix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue