mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
dom: imprive children walker
This commit is contained in:
@@ -199,12 +199,6 @@ pub const WalkerChildren = struct {
|
||||
// don't want to go further to find children.
|
||||
if (root == cur.?) return null;
|
||||
|
||||
// TODO deinit last.
|
||||
const last = try parser.nodeLastChild(root);
|
||||
if (last == cur.?) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return try parser.nodeNextSibling(cur.?);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user