dom: add target and href accessors to anchor

This commit is contained in:
Pierre Tachoire
2024-05-13 11:43:55 +02:00
parent 88c9875664
commit df6a905683
3 changed files with 72 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ const XHRTestExecFn = xhr.testExecFn;
const ProgressEventTestExecFn = @import("xhr/progress_event.zig").testExecFn;
const StorageTestExecFn = storage.testExecFn;
const URLTestExecFn = url.testExecFn;
const HTMLElementTestExecFn = @import("html/elements.zig").testExecFn;
pub const Types = jsruntime.reflect(apiweb.Interfaces);
@@ -117,6 +118,7 @@ fn testsAllExecFn(
ProcessingInstructionTestExecFn,
StorageTestExecFn,
URLTestExecFn,
HTMLElementTestExecFn,
};
inline for (testFns) |testFn| {