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

LibWeb: Implement Node.contains

Used by Web Components Polyfills.
This commit is contained in:
Luke 2021-07-05 05:55:02 +01:00 committed by Andreas Kling
parent a826df773e
commit 9cae827f07
3 changed files with 9 additions and 0 deletions

View file

@ -166,6 +166,8 @@ public:
bool is_scripting_disabled() const;
bool contains(RefPtr<Node>) const;
// Used for dumping the DOM Tree
void serialize_tree_as_json(JsonObjectSerializer<StringBuilder>&) const;