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:
parent
213e2793bd
commit
966bc05fef
4 changed files with 58 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue