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&);