mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibWeb: Implement the :volume-locked
pseudo-class
This commit is contained in:
parent
c8a51f232d
commit
eb7cda1172
Notes:
sideshowbarker
2024-07-16 16:34:22 +09:00
Author: https://github.com/AtkinsSJ
Commit: eb7cda1172
Pull-request: https://github.com/SerenityOS/serenity/pull/20302
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 14 additions and 0 deletions
|
@ -235,6 +235,7 @@ ErrorOr<String> Selector::SimpleSelector::serialize() const
|
|||
case Selector::SimpleSelector::PseudoClass::Type::Paused:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Seeking:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Muted:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::VolumeLocked:
|
||||
// If the pseudo-class does not accept arguments append ":" (U+003A), followed by the name of the pseudo-class, to s.
|
||||
TRY(s.try_append(':'));
|
||||
TRY(s.try_append(pseudo_class_name(pseudo_class.type)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue