[scroll-animations] Make Scroll/DocumentTimeline decision earlier
Instead of storing a ScrollTimeline that may be nullptr, store an AnimationTimeline that's already been determined to either be a ScrollTimeline or a DocumentTimeline. There should be no behavior change in this CL. It's a preparation that will make subsequent work on dynamically updatable @scroll-timeline rules a bit smoother. It's also needed in the future to differentiate between animation- timeline:auto and animation-timeline:none. Note: Apparently inspector_css_cascade_test.cc previously depended on some header transitively included via css_animation_update.h. Bug: 1074052 Change-Id: Ic9704f3a08859244163fd911b65bef98bc0b2d74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332618Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Kevin Ellis <kevers@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#795218}
Showing
Please register or sign in to comment