Bug 1621515 [wpt PR 22180] - [ScrollTimeline] Support composited scroll-linked Web...
commitaee51052f7d2d949c11d0627e40d6b7c55f3fcb8
authorYi Gu <yigu@chromium.org>
Sat, 14 Mar 2020 11:30:31 +0000 (14 11:30 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 15 Mar 2020 16:54:25 +0000 (15 16:54 +0000)
tree1724ea3246b900112363984a8b6c632b67d455f0
parent893129abdc4194e5ae5d196131b2350674d60561
Bug 1621515 [wpt PR 22180] - [ScrollTimeline] Support composited scroll-linked Web Animation, a=testonly

Automatic update from web-platform-tests
[ScrollTimeline] Support composited scroll-linked Web Animation

This patch integrates ScrollTimeline with cc::Animation. Major changes
include:
1. blink::ScrollTimeline is able to create its compositor counterpart
2. cc::ScrollTimeline is attached to cc::AnimationHost upon creation
3. cc::AnimationHost ticks animations based on their timeline type
4. Remove scroll_timeline_ from cc::WorkletAnimation and use the unified
  animation_timeline_.
5. Added virtual/threaded/external/wpt/scroll-animations/.

See [1] for more details.
[1] https://docs.google.com/document/d/1RpJrYIDYHvtu0ia1vPv_EhBfan428QZ2sgsFhtnXb20/edit?usp=sharing

To sheriffs: if any virtual tests become flaky, please add them to
TestExpectation instead of reverting the change.

Bug: 1023508
Change-Id: Ib4aa853bda34ce9b2c0abc943be9f99ac81e799a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2084088
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749389}

--

wpt-commits: 65dfaeccfa8044f290f22a13fd91fb0209cf50e1
wpt-pr: 22180
testing/web-platform/tests/scroll-animations/animation-ref.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-display-none.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-overflow-hidden-ref.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-overflow-hidden.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-root-scroller-ref.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-root-scroller.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/animation-with-transform.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/two-animations-attach-to-same-scroll-timeline-cancel-one.html [new file with mode: 0644]
testing/web-platform/tests/scroll-animations/two-animations-attach-to-same-scroll-timeline.html [new file with mode: 0644]