mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
node: add compareDocumentPosition method (NOT IMPLEMENTED)
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -135,6 +135,12 @@ pub const Node = struct {
|
||||
const clone = parser.nodeCloneNode(self, is_deep);
|
||||
return Node.toInterface(clone);
|
||||
}
|
||||
|
||||
pub fn _compareDocumentPosition(self: *parser.Node, other: *parser.Node) void {
|
||||
_ = other;
|
||||
_ = self;
|
||||
@panic("Not implemented node.compareDocumentPosition()");
|
||||
}
|
||||
};
|
||||
|
||||
pub const Types = generate.Tuple(.{
|
||||
|
||||
Reference in New Issue
Block a user