LibWeb: Implement Node.isEqualNode(Node? otherNode)

This commit is contained in:
Andreas Kling 2021-09-13 12:54:24 +02:00
commit 449cbd5ecc
Notes: sideshowbarker 2024-07-18 04:03:12 +09:00
4 changed files with 87 additions and 0 deletions

View file

@ -26,6 +26,7 @@ interface Node : EventTarget {
[ImplementedAs=pre_remove] Node removeChild(Node child);
[ImplementedAs=clone_node_binding] Node cloneNode(optional boolean deep = false);
boolean contains(Node? other);
boolean isEqualNode(Node? otherNode);
boolean isSameNode(Node? otherNode);
const unsigned short ELEMENT_NODE = 1;