1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

LibWeb: Implement selector matching for :indeterminate pseudo-class

This commit is contained in:
Srikavin Ramkumar 2023-03-20 04:35:43 -04:00 committed by Sam Atkins
parent d177d83b44
commit c3d6709a9e
4 changed files with 33 additions and 0 deletions

View file

@ -105,6 +105,7 @@ public:
Disabled,
Enabled,
Checked,
Indeterminate,
Is,
Not,
Where,
@ -275,6 +276,8 @@ constexpr StringView pseudo_class_name(Selector::SimpleSelector::PseudoClass::Ty
return "enabled"sv;
case Selector::SimpleSelector::PseudoClass::Type::Checked:
return "checked"sv;
case Selector::SimpleSelector::PseudoClass::Type::Indeterminate:
return "indeterminate"sv;
case Selector::SimpleSelector::PseudoClass::Type::Active:
return "active"sv;
case Selector::SimpleSelector::PseudoClass::Type::NthChild: