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
commit c3b689488e
Notes: sideshowbarker 2024-07-17 23:02:37 +09:00
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&);