dom: implement HTMLCollection.namedItem()

This commit is contained in:
Pierre Tachoire
2023-10-25 17:30:55 +02:00
parent 3a188c4568
commit 09d032f6f8
3 changed files with 65 additions and 2 deletions

View File

@@ -597,6 +597,9 @@ pub fn textSplitText(text: *Text, offset: u32) *Text {
// Comment
pub const Comment = c.dom_comment;
// Attribute
pub const Attribute = c.dom_attr;
// Element
pub const Element = c.dom_element;