1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

LibWeb: Add a TimingFunction struct implementing the Web Easing spec

This is mostly a copy-paste of the algorithms already in StyleComputer
with spec links and comments. The only thing that really changed is the
handling of values outside of the range [0, 1] in the cubic bezier
function.

The implementation in StyleComputer will be removed in a later commit.
This commit is contained in:
Matthew Olsson 2023-11-04 11:48:31 -07:00 committed by Andreas Kling
parent 1850652881
commit 66bd75f2b9
3 changed files with 233 additions and 0 deletions

View file

@ -6,6 +6,7 @@ set(SOURCES
Animations/AnimationEffect.cpp
Animations/AnimationTimeline.cpp
Animations/DocumentTimeline.cpp
Animations/TimingFunction.cpp
ARIA/AriaData.cpp
ARIA/ARIAMixin.cpp
ARIA/Roles.cpp