1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

LibWeb: Implement ParentNode.children

Required by Web Platform Tests for the innerHTML/outerHTML tests.
This commit is contained in:
Luke Wilde 2021-09-13 23:01:17 +01:00 committed by Andreas Kling
parent 8e0f3436a2
commit e4d97add3d
6 changed files with 29 additions and 0 deletions

View file

@ -25,6 +25,8 @@ public:
ExceptionOr<RefPtr<Element>> query_selector(StringView);
ExceptionOr<NonnullRefPtrVector<Element>> query_selector_all(StringView);
NonnullRefPtr<HTMLCollection> children();
protected:
ParentNode(Document& document, NodeType type)
: Node(document, type)