mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Parse the view-timeline-name CSS property
This commit is contained in:
parent
13ce2d1857
commit
d9d3e66197
Notes:
github-actions[bot]
2025-11-28 13:26:17 +00:00
Author: https://github.com/Calme1709
Commit: d9d3e66197
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6912
Reviewed-by: https://github.com/AtkinsSJ ✅
9 changed files with 130 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue