dom: add NamedNodeMap implementation

and create Attr type
This commit is contained in:
Pierre Tachoire
2023-12-02 10:54:12 +01:00
parent dcb095d9df
commit ad5c6236a7
7 changed files with 244 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ const elementTestExecFn = @import("dom/element.zig").testExecFn;
const HTMLCollectionTestExecFn = @import("dom/html_collection.zig").testExecFn;
const DOMExceptionTestExecFn = @import("dom/exceptions.zig").testExecFn;
const DOMImplementationExecFn = @import("dom/implementation.zig").testExecFn;
const NamedNodeMapExecFn = @import("dom/namednodemap.zig").testExecFn;
var doc: *parser.DocumentHTML = undefined;
@@ -61,6 +62,7 @@ fn testsAllExecFn(
HTMLCollectionTestExecFn,
DOMExceptionTestExecFn,
DOMImplementationExecFn,
NamedNodeMapExecFn,
};
inline for (testFns) |testFn| {