style: Rename scroll-linked (animations) to scroll-driven (excluding WPT tests)

The spec is still using `Scroll-linked`, so we exclude the change of WPT tests.
I believe WPT will get updates once the spec doc is renamed.

Differential Revision: https://phabricator.services.mozilla.com/D165914
This commit is contained in:
Boris Chiou 2023-01-04 00:50:45 +00:00 committed by Martin Robinson
parent bc438d725f
commit 425a92143d
2 changed files with 10 additions and 11 deletions

View file

@ -326,7 +326,7 @@ ${helpers.predefined_type(
vector=True,
need_index=True,
animation_value_type="none",
gecko_pref="layout.css.scroll-linked-animations.enabled",
gecko_pref="layout.css.scroll-driven-animations.enabled",
spec="https://drafts.csswg.org/css-animations-2/#propdef-animation-timeline",
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
)}
@ -337,8 +337,8 @@ ${helpers.predefined_type(
"computed::ScrollTimelineName::none()",
engines="gecko",
animation_value_type="none",
gecko_pref="layout.css.scroll-linked-animations.enabled",
spec="https://github.com/w3c/csswg-drafts/issues/6674",
gecko_pref="layout.css.scroll-driven-animations.enabled",
spec="https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-name",
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
)}
@ -348,7 +348,7 @@ ${helpers.predefined_type(
"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",
gecko_pref="layout.css.scroll-driven-animations.enabled",
spec="https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-axis",
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
)}