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

LibWeb: Implement the :muted pseudo-class

This commit is contained in:
Sam Atkins 2023-08-01 14:49:28 +01:00 committed by Tim Flynn
parent 7b4ae43b91
commit c8a51f232d
6 changed files with 16 additions and 0 deletions

View file

@ -118,6 +118,7 @@ public:
Playing,
Paused,
Seeking,
Muted,
};
Type type;
@ -313,6 +314,8 @@ constexpr StringView pseudo_class_name(Selector::SimpleSelector::PseudoClass::Ty
return "paused"sv;
case Selector::SimpleSelector::PseudoClass::Type::Seeking:
return "seeking"sv;
case Selector::SimpleSelector::PseudoClass::Type::Muted:
return "muted"sv;
}
VERIFY_NOT_REACHED();
}