mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Drop the usage of @scroll-timeline from animation builder
@scroll-timeline rule was removed from the spec and wpt, so it's safe to remove this from Gecko. Differential Revision: https://phabricator.services.mozilla.com/D157248
This commit is contained in:
parent
8a63d9e059
commit
4b736595d7
2 changed files with 6 additions and 9 deletions
|
@ -816,13 +816,10 @@ pub enum AnimationTimeline {
|
|||
/// Use default timeline. The animation’s timeline is a DocumentTimeline.
|
||||
Auto,
|
||||
/// The scroll-timeline name.
|
||||
///
|
||||
/// Note: This could be the timeline name from @scroll-timeline rule, or scroll-timeline-name
|
||||
/// from itself, its ancestors, or its previous siblings.
|
||||
/// https://drafts.csswg.org/scroll-animations-1/rewrite#scroll-timelines-named
|
||||
/// https://drafts.csswg.org/scroll-animations-1/#scroll-timelines-named
|
||||
Timeline(TimelineName),
|
||||
/// The scroll() notation.
|
||||
/// https://drafts.csswg.org/scroll-animations-1/rewrite#scroll-notation
|
||||
/// https://drafts.csswg.org/scroll-animations-1/#scroll-notation
|
||||
#[css(function)]
|
||||
Scroll(
|
||||
#[css(skip_if = "is_default")] ScrollAxis,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue