LibWeb/CSS: Disallow :has() and pseudo-elements in :has() when parsing

This commit is contained in:
Sam Atkins
2024-11-14 12:18:10 +00:00
committed by Andreas Kling
parent ad1f93504e
commit 7f803c5c3d
6 changed files with 45 additions and 0 deletions

View File

@@ -413,6 +413,8 @@ private:
};
static ContextType context_type_for_at_rule(FlyString const&);
Vector<ContextType> m_rule_context;
Vector<PseudoClass> m_pseudo_class_context; // Stack of pseudo-class functions we're currently inside
};
}