mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
LibWeb: Add a StackOfOpenElements helper for "popping until a tag name"
This commit is contained in:
parent
e026a50777
commit
c84212aaba
3 changed files with 14 additions and 12 deletions
|
@ -57,6 +57,8 @@ public:
|
|||
|
||||
const NonnullRefPtrVector<Element>& elements() const { return m_elements; }
|
||||
|
||||
void pop_until_an_element_with_tag_name_has_been_popped(const FlyString&);
|
||||
|
||||
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