diff --git a/Libraries/LibWeb/Animations/Animation.cpp b/Libraries/LibWeb/Animations/Animation.cpp index 02f77308526..9f2a3d5b657 100644 --- a/Libraries/LibWeb/Animations/Animation.cpp +++ b/Libraries/LibWeb/Animations/Animation.cpp @@ -324,8 +324,7 @@ bool Animation::is_replaceable() const // - The existence of the animation is not prescribed by markup. That is, it is not a CSS animation with an owning // element, nor a CSS transition with an owning element. - // FIXME: Check for transitions - if (is_css_animation() && static_cast(this)->owning_element()) + if ((is_css_animation() || is_css_transition()) && owning_element()) return false; // - The animation's play state is finished.