LibWeb: Implement interpolation of repeatable lists

This commit is contained in:
Tim Ledbetter 2025-04-11 06:00:03 +01:00 committed by Tim Ledbetter
commit 04d7228c51
Notes: github-actions[bot] 2025-04-23 08:39:34 +00:00
8 changed files with 366 additions and 117 deletions

View file

@ -19,6 +19,7 @@ ValueComparingRefPtr<CSSStyleValue const> interpolate_property(DOM::Element&, Pr
bool property_values_are_transitionable(PropertyID, CSSStyleValue const& old_value, CSSStyleValue const& new_value);
NonnullRefPtr<CSSStyleValue const> interpolate_value(DOM::Element&, CalculationContext const&, CSSStyleValue const& from, CSSStyleValue const& to, float delta);
NonnullRefPtr<CSSStyleValue const> interpolate_repeatable_list(DOM::Element&, CalculationContext const&, CSSStyleValue const& from, CSSStyleValue const& to, float delta);
NonnullRefPtr<CSSStyleValue const> interpolate_box_shadow(DOM::Element&, CalculationContext const&, CSSStyleValue const& from, CSSStyleValue const& to, float delta);
RefPtr<CSSStyleValue const> interpolate_transform(DOM::Element&, CSSStyleValue const& from, CSSStyleValue const& to, float delta);