mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-30 15:41:48 +00:00 
			
		
		
		
	netsurf: move to public only API
And add some Node APIs: - getters: firstChild, lastChild, nextSibling, previoussibling, parentNode, parentElement, nodeName, nodeType, ownerDocument, isConnected - getters/setters: nodeValue, textContent - methods: appendChild And some test comptime optimizations on Document Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
		| @@ -5,6 +5,9 @@ const Console = @import("jsruntime").Console; | ||||
| // DOM | ||||
| const EventTarget = @import("dom/event_target.zig").EventTarget; | ||||
| const N = @import("dom/node.zig"); | ||||
| const CharacterData = @import("dom/character_data.zig").CharacterData; | ||||
| const Comment = @import("dom/comment.zig").Comment; | ||||
| const Text = @import("dom/text.zig").Text; | ||||
| const Element = @import("dom/element.zig").Element; | ||||
| const Document = @import("dom/document.zig").Document; | ||||
|  | ||||
| @@ -22,6 +25,8 @@ const interfaces = .{ | ||||
|     EventTarget, | ||||
|     N.Node, | ||||
|     N.Types, | ||||
|     CharacterData, | ||||
|     Comment, | ||||
|     Element, | ||||
|     Document, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francis Bouvier
					Francis Bouvier