mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
browser: change node filter from lower to tag_name
This commit is contained in:
@@ -989,7 +989,7 @@ pub fn getElementsByTagName(self: *Node, tag_name: []const u8, frame: *Frame) !G
|
||||
}
|
||||
|
||||
const arena = frame.arena;
|
||||
const filter = try String.init(arena, lower, .{});
|
||||
const filter = try String.init(arena, tag_name, .{});
|
||||
return .{ .tag_name = collections.NodeLive(.tag_name).init(self, filter, frame) };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user