1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibWeb: Implement Animation.pause()

This commit is contained in:
Matthew Olsson 2024-02-04 17:21:05 -07:00 committed by Andreas Kling
parent 83fd28e089
commit c0b9179d9a
3 changed files with 118 additions and 4 deletions

View file

@ -72,6 +72,7 @@ public:
};
WebIDL::ExceptionOr<void> play();
WebIDL::ExceptionOr<void> play_an_animation(AutoRewind);
WebIDL::ExceptionOr<void> pause();
Optional<double> convert_an_animation_time_to_timeline_time(Optional<double>) const;
Optional<double> convert_a_timeline_time_to_an_origin_relative_time(Optional<double>) const;