1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibWeb: Implement ParentNode.replaceChildren

This commit is contained in:
Luke Wilde 2022-01-29 21:01:09 +00:00 committed by Andreas Kling
parent 34dfdc3f37
commit d1bc9358c1
5 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,7 @@ public:
ExceptionOr<void> prepend(Vector<Variant<NonnullRefPtr<Node>, String>> const& nodes);
ExceptionOr<void> append(Vector<Variant<NonnullRefPtr<Node>, String>> const& nodes);
ExceptionOr<void> replace_children(Vector<Variant<NonnullRefPtr<Node>, String>> const& nodes);
protected:
ParentNode(Document& document, NodeType type)