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

LibWeb: Rename element_before() => element_immediately_above()

This matches the spec terminology around the "stack of open elements".
This commit is contained in:
Andreas Kling 2022-02-14 22:24:10 +01:00
parent 6fe333607d
commit 5cdbea4ae0
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ public:
ssize_t index;
};
LastElementResult last_element_with_tag_name(const FlyString&);
DOM::Element* element_before(const DOM::Element&);
DOM::Element* element_immediately_above(DOM::Element const&);
private:
bool has_in_scope_impl(const FlyString& tag_name, const Vector<FlyString>&) const;