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