1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

LibWeb: Allow auto as animation-duration and make that the default

This is a spec change: 2a7cc4b58f
This commit is contained in:
Sam Atkins 2023-06-09 14:25:32 +01:00 committed by Andreas Kling
parent c4c35ce9b9
commit 7a2c8d30b9
3 changed files with 19 additions and 6 deletions

View file

@ -199,7 +199,7 @@ private:
struct Animation {
String name;
CSS::Time duration;
Optional<CSS::Time> duration; // "auto" if not set.
CSS::Time delay;
Optional<size_t> iteration_count; // Infinite if not set.
CSS::AnimationDirection direction;