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:

View file

@ -4013,6 +4013,19 @@
"unitless-length"
]
},
"view-timeline-name": {
"affects-layout": false,
"animation-type": "none",
"inherited": false,
"initial": "none",
"valid-identifiers": [
"none"
],
"valid-types": [
"dashed-ident"
],
"multiplicity": "coordinating-list"
},
"view-transition-name": {
"affects-layout": false,
"affects-stacking-context": true,