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
commit 7f803c5c3d
Notes: github-actions[bot] 2024-11-14 19:08:37 +00:00
6 changed files with 45 additions and 0 deletions

View file

@ -275,6 +275,8 @@ String serialize_a_group_of_selectors(SelectorList const& selectors);
SelectorList adapt_nested_relative_selector_list(SelectorList const&);
bool is_has_allowed_pseudo_element(Selector::PseudoElement::Type);
}
namespace AK {