mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibWeb: Convert Node.childNodes to NodeList
This changes the old child_nodes implementation to children_as_vector so that can still be used in insert_before.
This commit is contained in:
parent
2f7fb1fe63
commit
6a7739c645
3 changed files with 15 additions and 5 deletions
|
@ -4,8 +4,7 @@ interface Node : EventTarget {
|
|||
readonly attribute DOMString nodeName;
|
||||
|
||||
boolean hasChildNodes();
|
||||
// FIXME: This should be a NodeList
|
||||
readonly attribute ArrayFromVector childNodes;
|
||||
[SameObject] readonly attribute NodeList childNodes;
|
||||
readonly attribute Node? firstChild;
|
||||
readonly attribute Node? lastChild;
|
||||
readonly attribute Node? previousSibling;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue