LibWeb: Parse all as keyword in transition shorthand

This ensures that the parsing of the `transition` shorthand property
behaves in the same way as the `transition-property` longhand.4
This commit is contained in:
Tim Ledbetter 2025-04-28 11:37:08 +01:00 committed by Andreas Kling
commit e7ae9c8ebf
Notes: github-actions[bot] 2025-04-28 18:52:33 +00:00
8 changed files with 1076 additions and 3 deletions

View file

@ -17,7 +17,7 @@ namespace Web::CSS {
class TransitionStyleValue final : public StyleValueWithDefaultOperators<TransitionStyleValue> {
public:
struct Transition {
ValueComparingRefPtr<CustomIdentStyleValue const> property_name;
ValueComparingRefPtr<CSSStyleValue const> property_name;
TimeOrCalculated duration { CSS::Time::make_seconds(0.0) };
TimeOrCalculated delay { CSS::Time::make_seconds(0.0) };
ValueComparingRefPtr<EasingStyleValue const> easing;