mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 18:58:56 +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
Notes:
sideshowbarker
2024-07-17 11:06:06 +09:00
Author: https://github.com/mattco98
Commit: 62f62a0e52
Pull-request: https://github.com/SerenityOS/serenity/pull/23332
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