mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +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
|
@ -117,6 +117,7 @@ public:
|
|||
Defined,
|
||||
Playing,
|
||||
Paused,
|
||||
Seeking,
|
||||
};
|
||||
Type type;
|
||||
|
||||
|
@ -310,6 +311,8 @@ constexpr StringView pseudo_class_name(Selector::SimpleSelector::PseudoClass::Ty
|
|||
return "playing"sv;
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Paused:
|
||||
return "paused"sv;
|
||||
case Selector::SimpleSelector::PseudoClass::Type::Seeking:
|
||||
return "seeking"sv;
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue