mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:17:44 +00:00
LibWeb: Implement selector matching for :indeterminate pseudo-class
This commit is contained in:
parent
d177d83b44
commit
c3d6709a9e
4 changed files with 33 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue