dom: extract walker from html_collection to its own file

This commit is contained in:
Pierre Tachoire
2024-01-16 15:39:35 +01:00
parent d22b7a6d29
commit a2e266514f
7 changed files with 96 additions and 88 deletions

View File

@@ -12,7 +12,7 @@ const NodeList = @import("../dom/nodelist.zig").NodeList;
const HTMLElem = @import("elements.zig");
const collection = @import("../dom/html_collection.zig");
const Walker = collection.WalkerDepthFirst;
const Walker = @import("../dom/walker.zig").WalkerDepthFirst;
// WEB IDL https://html.spec.whatwg.org/#the-document-object
pub const HTMLDocument = struct {