LibWeb: Don't override value of font-style when computing keyframes

We don't actually rely on this being in computed form yet so this is a
non-functional change for now.
This commit is contained in:
Callum Law 2025-09-23 20:40:01 +12:00 committed by Tim Ledbetter
commit e8ad657589
Notes: github-actions[bot] 2025-09-23 14:59:08 +00:00

View file

@ -1102,7 +1102,7 @@ void StyleComputer::collect_animation_into(DOM::AbstractElement abstract_element
if (!style_value)
continue;
if (first_is_one_of(property_id, PropertyID::FontSize, PropertyID::FontWeight, PropertyID::FontWidth))
if (first_is_one_of(property_id, PropertyID::FontSize, PropertyID::FontWeight, PropertyID::FontWidth, PropertyID::FontStyle))
continue;
auto const& computed_value = compute_value_of_property(property_id, *style_value, get_property_specified_value, property_value_computation_context);