mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibWeb: Correctly set timing function in AnimationEffect::update_timing
Also pulls out the parse_easing_string function out since it will be needed elsewhere
This commit is contained in:
parent
b33bb0997a
commit
62f62a0e52
3 changed files with 27 additions and 16 deletions
|
@ -65,6 +65,8 @@ class AnimationEffect : public Bindings::PlatformObject {
|
|||
JS_DECLARE_ALLOCATOR(AnimationEffect);
|
||||
|
||||
public:
|
||||
static RefPtr<CSS::StyleValue const> parse_easing_string(JS::Realm& realm, StringView value);
|
||||
|
||||
static JS::NonnullGCPtr<AnimationEffect> create(JS::Realm&);
|
||||
|
||||
EffectTiming get_timing() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue