mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
LibWeb: Implement the :volume-locked
pseudo-class
This commit is contained in:
parent
c8a51f232d
commit
eb7cda1172
5 changed files with 14 additions and 0 deletions
|
@ -119,6 +119,7 @@ public:
|
|||
Paused,
|
||||
Seeking,
|
||||
Muted,
|
||||
VolumeLocked,
|
||||
};
|
||||
Type type;
|
||||
|
||||
|
@ -316,6 +317,8 @@ constexpr StringView pseudo_class_name(Selector::SimpleSelector::PseudoClass::Ty
|
|||
return "seeking"sv;
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Muted:
|
||||
return "muted"sv;
|
||||
case Selector::SimpleSelector::PseudoClass::Type::VolumeLocked:
|
||||
return "volume-locked"sv;
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue