LibWeb: Parse the view-timeline-axis CSS property

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

View file

@ -750,6 +750,7 @@ 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::ViewTimelineAxis:
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:

View file

@ -4013,6 +4013,16 @@
"unitless-length"
]
},
"view-timeline-axis": {
"affects-layout": false,
"animation-type": "none",
"inherited": false,
"initial": "block",
"valid-types": [
"axis"
],
"multiplicity": "coordinating-list"
},
"view-timeline-name": {
"affects-layout": false,
"animation-type": "none",