LibWeb: Parse the view-timeline-name CSS property

This commit is contained in:
Callum Law 2025-11-21 18:20:28 +13:00 committed by Sam Atkins
parent 13ce2d1857
commit d9d3e66197
Notes: github-actions[bot] 2025-11-28 13:26:17 +00:00
9 changed files with 130 additions and 0 deletions

View file

@ -750,6 +750,8 @@ Parser::ParseErrorOr<NonnullRefPtr<StyleValue const>> Parser::parse_css_value(Pr
case PropertyID::ScrollTimelineAxis:
case PropertyID::ScrollTimelineName:
return parse_all_as(tokens, [this, property_id](auto& tokens) { return parse_simple_comma_separated_value_list(property_id, tokens); });
case PropertyID::ViewTimelineName:
return parse_all_as(tokens, [this, property_id](auto& tokens) { return parse_simple_comma_separated_value_list(property_id, tokens); });
case PropertyID::WhiteSpace:
return parse_all_as(tokens, [this](auto& tokens) { return parse_white_space_shorthand(tokens); });
case PropertyID::WhiteSpaceTrim: