mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 15:40:28 +00:00
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:
parent
d69e62425e
commit
ede80ccdfb
Notes:
github-actions[bot]
2025-08-27 12:52:16 +00:00
Author: https://github.com/Calme1709
Commit: ede80ccdfb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6002
Reviewed-by: https://github.com/gmta ✅
25 changed files with 260 additions and 270 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue