mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Remove useless animation relevancy check
This is already done in Animatable::get_animations()
This commit is contained in:
committed by
Andreas Kling
parent
0743a33266
commit
e2dfef90fb
@@ -1579,9 +1579,6 @@ void StyleComputer::compute_cascaded_values(StyleProperties& style, DOM::Element
|
||||
|
||||
auto animations = element.get_animations({ .subtree = false });
|
||||
for (auto& animation : animations) {
|
||||
if (!animation->is_relevant())
|
||||
continue;
|
||||
|
||||
if (auto effect = animation->effect(); effect && effect->is_keyframe_effect()) {
|
||||
auto& keyframe_effect = *static_cast<Animations::KeyframeEffect*>(effect.ptr());
|
||||
if (keyframe_effect.pseudo_element_type() == pseudo_element)
|
||||
|
||||
Reference in New Issue
Block a user