mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
style: Support scroll-timeline-name longhand in style system
Implement "scroll-timeline-name: none | <custom-ident>". Differential Revision: https://phabricator.services.mozilla.com/D146018
This commit is contained in:
parent
105050d46d
commit
8d8594ef86
6 changed files with 65 additions and 6 deletions
|
@ -304,3 +304,14 @@ ${helpers.predefined_type(
|
|||
spec="https://drafts.csswg.org/css-animations-2/#propdef-animation-timeline",
|
||||
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"scroll-timeline-name",
|
||||
"ScrollTimelineName",
|
||||
"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",
|
||||
rule_types_allowed=DEFAULT_RULES_EXCEPT_KEYFRAME,
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue