mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Allow multiple values for transition-behavior
This commit is contained in:
parent
9de4e3a0eb
commit
b0ab94c00c
Notes:
github-actions[bot]
2025-11-28 16:17:21 +00:00
Author: https://github.com/Calme1709
Commit: b0ab94c00c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6837
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 17 additions and 1 deletions
|
|
@ -749,7 +749,8 @@ Parser::ParseErrorOr<NonnullRefPtr<StyleValue const>> Parser::parse_css_value(Pr
|
|||
case PropertyID::TransitionProperty:
|
||||
return parse_all_as(tokens, [this](auto& tokens) { return parse_transition_property_value(tokens); });
|
||||
case PropertyID::TransitionTimingFunction:
|
||||
return parse_all_as(tokens, [this](auto& tokens) { return parse_simple_comma_separated_value_list(PropertyID::TransitionTimingFunction, tokens); });
|
||||
case PropertyID::TransitionBehavior:
|
||||
return parse_all_as(tokens, [this, property_id](auto& tokens) { return parse_simple_comma_separated_value_list(property_id, tokens); });
|
||||
case PropertyID::Translate:
|
||||
return parse_all_as(tokens, [this](auto& tokens) { return parse_translate_value(tokens); });
|
||||
case PropertyID::Scale:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue