Animations don't play after calling pause() then play() in separate script tasks |
|||||
Issue descriptionTest case: https://rawgit.com/web-animations/web-animations-demos/4f26723f1cf39dd10a70698ed00a805f658ffdee/phone/index.html Repro steps: - Click the bottom bar, wait for slide up animation to end. - Click the bar again. Expected: Bar should slide back down. Actualy: Bar only slides down when clicked again or after toggling tab focus. The tab focus suggests this is related to compositor/main thread animation co-ordination.
,
Sep 19 2016
Created more minimal test case: https://jsfiddle.net/2b8ykcu0/ This seems to require a combination of: - Composited animations - Pausing then playing in separate script tasks - Using will-change Needs further investigation.
,
Sep 21 2016
Minified test case even further: https://jsfiddle.net/7rt8x76g/
,
Oct 12 2016
After speaking with loyso it seems that calls to AnimationDelegate::notifyAnimationStarted() in cc animations land is likely where the bug lies.
,
Oct 26 2016
It sounds like this is an interop bug - ie Firefox's Web Animations doesn't do this (sorry, my Firefox install is corrupt so I can't test it). If not, please remove the Hotlist-Interop label.
,
May 16 2017
,
May 19 2017
The problem came from animation compositing (see issue 723099 for details). The compositing team is putting in a patch to fix it, and I confirm it also solves the problem reported in this ticket: I patched in their cl and ran the test animations mentioned in this ticket. I didn't see any problem any more. The compositing cl is still in codereview. I'll update as soon as it's landed.
,
May 19 2017
The compositing cl has been submitted, which also fixed the animations bug reported in this ticket. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by alancutter@chromium.org
, Sep 19 2016