Ali Mohammad Pur
e90752cc21
LibWeb: Add preliminary support for CSS animations
...
This partially implements CSS-Animations-1 (though there are references
to CSS-Animations-2).
Current limitations:
- Multi-selector keyframes are not supported.
- Most animation properties are ignored.
- Timing functions are not applied.
- Non-absolute values are not interpolated unless the target is also of
the same non-absolute type (e.g. 10% -> 25%, but not 10% -> 20px).
- The JavaScript interface is left as an exercise for the next poor soul
looking at this code.
With those said, this commit implements:
- Interpolation for most common types
- Proper keyframe resolution (including the synthetic from-keyframe
containing the initial state)
- Properly driven animations, and proper style invalidation
Co-Authored-By: Andreas Kling <kling@serenityos.org >
2023-05-29 05:35:41 +02:00
..
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-03-15 14:55:49 +01:00
2023-03-30 21:29:50 +02:00
2023-04-13 09:53:47 +02:00
2023-03-25 16:56:04 +00:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-05-27 20:55:00 +02:00
2023-05-25 06:36:10 +02:00
2023-03-15 12:48:25 -04:00
2023-03-15 12:48:25 -04:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-24 20:58:46 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-08 09:29:44 +02:00
2023-03-30 16:54:15 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-25 06:36:10 +02:00
2023-05-29 05:35:41 +02:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-03-23 08:27:51 +00:00
2023-05-02 20:27:28 +02:00
2023-05-24 14:40:35 +02:00
2023-05-24 14:40:35 +02:00
2023-03-20 20:37:40 -04:00
2023-05-29 05:35:41 +02:00
2023-05-24 17:19:18 +02:00
2023-05-24 17:19:18 +02:00
2023-03-30 21:29:50 +02:00
2023-04-13 09:53:47 +02:00
2023-05-28 20:26:05 +02:00
2023-05-28 20:26:05 +02:00
2023-05-29 05:35:41 +02:00
2023-05-24 14:40:35 +02:00
2023-05-24 14:40:35 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-05-08 09:29:44 +02:00
2023-03-30 21:29:50 +02:00
2023-04-09 17:27:27 +02:00
2023-04-07 22:41:01 +02:00
2023-04-13 09:53:47 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-05-13 07:38:08 +02:00
2023-05-24 14:40:35 +02:00
2023-03-30 21:29:50 +02:00
2023-05-29 05:35:41 +02:00
2023-03-30 21:29:50 +02:00
2023-05-27 20:55:00 +02:00
2023-05-06 08:07:28 +02:00
2023-04-06 11:36:56 +02:00
2023-04-06 11:36:56 +02:00
2023-04-06 11:36:56 +02:00
2023-03-21 10:45:19 +01:00
2023-05-27 05:47:54 +02:00
2023-05-27 05:47:54 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-08 09:29:44 +02:00
2023-05-08 09:29:44 +02:00
2023-03-15 08:48:49 +01:00
2023-05-08 09:29:44 +02:00
2023-03-15 08:48:49 +01:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00