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:
parent
7b4ae43b91
commit
c8a51f232d
6 changed files with 16 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue