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

LibWeb: Finally parse enough that we can actually handle welcome.html!

We made it, at last! What a long journey this was. :^)
This commit is contained in:
Andreas Kling 2020-05-24 22:39:59 +02:00
parent 65d8d5e83e
commit 4cbe202d2c
3 changed files with 68 additions and 1 deletions

View file

@ -47,6 +47,10 @@ public:
bool has_in_scope(const FlyString& tag_name) const;
bool has_in_button_scope(const FlyString& tag_name) const;
bool contains(const Element&) const;
const NonnullRefPtrVector<Element>& elements() const { return m_elements; }
private:
bool has_in_scope_impl(const FlyString& tag_name, const Vector<FlyString>&) const;