mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibWeb: Implement the :seeking
pseudo-class
This matches while a media element is seeking.
This commit is contained in:
parent
4df5e24926
commit
7b4ae43b91
7 changed files with 28 additions and 3 deletions
|
@ -233,6 +233,7 @@ ErrorOr<String> Selector::SimpleSelector::serialize() const
|
|||
case Selector::SimpleSelector::PseudoClass::Type::Defined:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Playing:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Paused:
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Seeking:
|
||||
// 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