1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:58:12 +00:00

LibWeb: Implement more of the foster parenting algorithm in the parser

This commit is contained in:
Andreas Kling 2020-06-21 17:00:55 +02:00
parent 213e2793bd
commit 966bc05fef
4 changed files with 58 additions and 12 deletions

View file

@ -65,6 +65,9 @@ public:
Element* topmost_special_node_below(const Element&);
Element* last_element_with_tag_name(const FlyString&);
Element* element_before(const Element&);
private:
bool has_in_scope_impl(const FlyString& tag_name, const Vector<FlyString>&) const;
bool has_in_scope_impl(const Element& target_node, const Vector<FlyString>&) const;