LibWeb: Allow UseInitial in keyframes when updating animated style

This removes the AnimationRefresh argument from `collect_animation_into`
which was added in a9b8840 - it's only effect was disallowing
`UseInitial`s within keyframes when we were doing animated style
updates which I believe is unintentional.

Gains us 214 WPT tests.
This commit is contained in:
Callum Law 2025-08-27 21:28:52 +12:00 committed by Jelle Raaijmakers
commit ede80ccdfb
Notes: github-actions[bot] 2025-08-27 12:52:16 +00:00
25 changed files with 260 additions and 270 deletions

View file

@ -936,7 +936,7 @@ void KeyframeEffect::update_computed_properties(AnimationUpdateContext& context)
return make<AnimationUpdateContext::ElementData>(move(old_animated_properties), computed_properties);
});
target->document().style_computer().collect_animation_into(*target, pseudo_element_type(), *this, *computed_properties, CSS::StyleComputer::AnimationRefresh::Yes);
target->document().style_computer().collect_animation_into(*target, pseudo_element_type(), *this, *computed_properties);
}
}