LibWeb: Parse the scroll-timeline-name CSS property

This commit is contained in:
Callum Law 2025-11-20 22:43:11 +13:00 committed by Sam Atkins
parent 826e947920
commit e95f326f3d
Notes: github-actions[bot] 2025-11-28 13:26:40 +00:00
9 changed files with 133 additions and 0 deletions

View file

@ -745,6 +745,8 @@ Parser::ParseErrorOr<NonnullRefPtr<StyleValue const>> Parser::parse_css_value(Pr
return parse_all_as(tokens, [this](auto& tokens) { return parse_translate_value(tokens); });
case PropertyID::Scale:
return parse_all_as(tokens, [this](auto& tokens) { return parse_scale_value(tokens); });
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::WhiteSpace:
return parse_all_as(tokens, [this](auto& tokens) { return parse_white_space_shorthand(tokens); });
case PropertyID::WhiteSpaceTrim:

View file

@ -3440,6 +3440,19 @@
"affects-layout": false,
"affects-stacking-context": true
},
"scroll-timeline-name": {
"affects-layout": false,
"animation-type": "none",
"inherited": false,
"initial": "none",
"valid-identifiers": [
"none"
],
"valid-types": [
"dashed-ident"
],
"multiplicity": "coordinating-list"
},
"scrollbar-color": {
"affects-layout": false,
"animation-type": "by-computed-value",