From 8aef6ca37261c6d1e963f1ebda2715e7bed4c6a5 Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Tue, 8 Apr 2025 10:40:52 +0800 Subject: [PATCH] add 'node' subtype to htmldocument --- src/html/document.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/html/document.zig b/src/html/document.zig index 0f278f0d..11d16c3e 100644 --- a/src/html/document.zig +++ b/src/html/document.zig @@ -39,6 +39,8 @@ pub const HTMLDocument = struct { pub const prototype = *Document; pub const mem_guarantied = true; + pub const sub_type = "node"; + // JS funcs // --------