Update src/dom/document.zig

Co-authored-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Pierre Tachoire
2023-12-18 21:52:15 +01:00
parent 9f6253b21d
commit 874677fa81

View File

@@ -194,7 +194,7 @@ pub const Document = struct {
// TODO netsurf doesn't handle query selectors. We have to implement a
// solution by ourselves.
// We handle only * and single id selector like `#foo`.
// For now we handle only * and single id selector like `#foo`.
pub fn _querySelector(self: *parser.Document, selectors: []const u8) !?ElementUnion {
if (selectors.len == 0) return null;