mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
node: add isEqualNode method (TEST NOT WORKING)
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -371,6 +371,12 @@ pub fn nodeIsDefaultNamespace(node: *Node, namespace: []const u8) bool {
|
||||
return res;
|
||||
}
|
||||
|
||||
pub fn nodeIsEqualNode(node: *Node, other: *Node) bool {
|
||||
var res: bool = undefined;
|
||||
_ = nodeVtable(node).dom_node_is_equal.?(node, other, &res);
|
||||
return res;
|
||||
}
|
||||
|
||||
// CharacterData
|
||||
pub const CharacterData = c.dom_characterdata;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user