style: Support scroll-timeline-axis longhand in style system

Implement "scroll-timeline-axis: block | inline | vertical | horizontal".

Differential Revision: https://phabricator.services.mozilla.com/D146019
This commit is contained in:
Boris Chiou 2022-06-13 20:26:45 +00:00 committed by Martin Robinson
parent 8d8594ef86
commit 0c709f714b
5 changed files with 20 additions and 8 deletions

View file

@ -315,3 +315,14 @@ ${helpers.predefined_type(
spec="https://github.com/w3c/csswg-drafts/issues/6674",
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
)}
${helpers.predefined_type(
"scroll-timeline-axis",
"ScrollAxis",
"computed::ScrollAxis::default()",
engines="gecko",
animation_value_type="none",
gecko_pref="layout.css.scroll-linked-animations.enabled",
spec="https://github.com/w3c/csswg-drafts/issues/6674",
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
)}