mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Parse the scroll-timeline-axis CSS property
This commit is contained in:
parent
e95f326f3d
commit
992b0a4dc6
Notes:
github-actions[bot]
2025-11-28 13:26:31 +00:00
Author: https://github.com/Calme1709
Commit: 992b0a4dc6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6912
Reviewed-by: https://github.com/AtkinsSJ ✅
11 changed files with 135 additions and 0 deletions
|
|
@ -110,6 +110,12 @@
|
|||
"textarea",
|
||||
"textfield"
|
||||
],
|
||||
"axis": [
|
||||
"block",
|
||||
"inline",
|
||||
"x",
|
||||
"y"
|
||||
],
|
||||
"background-attachment": [
|
||||
"fixed",
|
||||
"local",
|
||||
|
|
|
|||
|
|
@ -628,6 +628,7 @@
|
|||
"windowtext",
|
||||
"wrap",
|
||||
"wrap-reverse",
|
||||
"x",
|
||||
"x-end",
|
||||
"x-large",
|
||||
"x-start",
|
||||
|
|
@ -635,6 +636,7 @@
|
|||
"xx-large",
|
||||
"xx-small",
|
||||
"xxx-large",
|
||||
"y",
|
||||
"y-end",
|
||||
"y-start",
|
||||
"zoom-in",
|
||||
|
|
|
|||
|
|
@ -745,6 +745,7 @@ 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::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::WhiteSpace:
|
||||
|
|
|
|||
|
|
@ -3440,6 +3440,16 @@
|
|||
"affects-layout": false,
|
||||
"affects-stacking-context": true
|
||||
},
|
||||
"scroll-timeline-axis": {
|
||||
"affects-layout": false,
|
||||
"animation-type": "none",
|
||||
"inherited": false,
|
||||
"initial": "block",
|
||||
"valid-types": [
|
||||
"axis"
|
||||
],
|
||||
"multiplicity": "coordinating-list"
|
||||
},
|
||||
"scroll-timeline-name": {
|
||||
"affects-layout": false,
|
||||
"animation-type": "none",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue