mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Make transition order consider property name
class_specific_composite_order() also has no reason to return an Optional<int>, since it can just return 0.
This commit is contained in:
parent
1df94c4513
commit
2c4f2a3cb6
Notes:
github-actions[bot]
2025-11-11 12:48:13 +00:00
Author: https://github.com/Psychpsyo
Commit: 2c4f2a3cb6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6789
Reviewed-by: https://github.com/gmta ✅
8 changed files with 36 additions and 12 deletions
|
|
@ -23,7 +23,7 @@ public:
|
|||
void set_animation_name(FlyString const& animation_name) { m_animation_name = animation_name; }
|
||||
|
||||
virtual Animations::AnimationClass animation_class() const override;
|
||||
virtual Optional<int> class_specific_composite_order(GC::Ref<Animations::Animation> other) const override;
|
||||
virtual int class_specific_composite_order(GC::Ref<Animations::Animation> other) const override;
|
||||
|
||||
private:
|
||||
explicit CSSAnimation(JS::Realm&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue