1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

LibWeb: Implement animation class-specific composite order

This is a part of determining the composite order of two animations
This commit is contained in:
Matthew Olsson 2024-02-02 16:38:09 -07:00 committed by Andreas Kling
parent 78b3c552c2
commit c3b689488e
3 changed files with 58 additions and 0 deletions

View file

@ -24,6 +24,9 @@ public:
FlyString const& animation_name() const { return id(); }
virtual Animations::AnimationClass animation_class() const override;
virtual Optional<int> class_specific_composite_order(JS::NonnullGCPtr<Animations::Animation> other) const override;
private:
explicit CSSAnimation(JS::Realm&);