mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Don't mangle inherited properties when updating animated style
This commit is contained in:
committed by
Jelle Raaijmakers
parent
01f6f33236
commit
408bbead31
Notes:
github-actions[bot]
2025-11-21 08:25:55 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/408bbead31e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6853 Reviewed-by: https://github.com/gmta ✅
@@ -922,7 +922,7 @@ void KeyframeEffect::update_computed_properties(AnimationUpdateContext& context)
|
||||
DOM::AbstractElement abstract_element { *target, pseudo_element_type() };
|
||||
context.elements.ensure(abstract_element, [computed_properties] {
|
||||
auto old_animated_properties = computed_properties->animated_property_values();
|
||||
computed_properties->reset_animated_properties({});
|
||||
computed_properties->reset_non_inherited_animated_properties({});
|
||||
return make<AnimationUpdateContext::ElementData>(move(old_animated_properties), computed_properties);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user