Merge pull request #144 from lightpanda-io/html-doc

dom: DocumentHTML getters
This commit is contained in:
Pierre Tachoire
2024-01-10 17:33:43 +01:00
committed by GitHub
6 changed files with 390 additions and 22 deletions

View File

@@ -14,6 +14,10 @@ const DOMException = @import("exceptions.zig").DOMException;
// Nodelist is implemented in pure Zig b/c libdom's NodeList doesn't allow to
// append nodes.
// WEB IDL https://dom.spec.whatwg.org/#nodelist
//
// TODO: a Nodelist can be either static or live. But the current
// implementation allows only static nodelist.
// see https://dom.spec.whatwg.org/#old-style-collections
pub const NodeList = struct {
pub const mem_guarantied = true;
pub const Exception = DOMException;