[scroll-animations] Introduce CSSScrollTimeline
This CL adds CSSScrollTimeline, which is like a regular ScrollTimeline except it originates from an @scroll-timeline rule. For now, the CSSScrollTimeline doesn't do anything beyond what ScrollTimeline does, but in the future CSSScrollTimelines will contain additional information needed to invalidate attached Animations when @scroll-timelines, the computed value of animation-timeline, or other circumstances change. All the Compute* utilities have been moved to css_scroll_timeline.cc without any changes. In general this CL is a pure refactor, and should have no behavior change. Bug: 1074052 Change-Id: I42291cc5fda4d8386c37803a3bf461c007fb5198 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2374646 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#801440}
Showing
Please register or sign in to comment