node subtypes

This commit is contained in:
sjorsdonkers
2025-04-18 08:50:07 +02:00
committed by Sjors
parent 581a79f3fc
commit fd170df98f
14 changed files with 86 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ const DOMException = @import("exceptions.zig").DOMException;
pub const Element = struct {
pub const Self = parser.Element;
pub const prototype = *Node;
pub const subtype = "node";
pub const DOMRect = struct {
x: f64,