By spec [1], an animation effect is "in effect" if its active time is not unresolved. However, if the effect is in the "after phase" and its fill mode is neither "forwards" nor "both", its active time should be unresolved which makes the effect not "in effect". Our cc logic doesn't handle this case correctly.
This bug was not exposed because for regular animations we cancel the animation on compositor in such scenario. But for worklet animations that's not the case.
[1] https://drafts.csswg.org/web-animations/#in-effect
Comment 1 by bugdroid1@chromium.org
, Dec 6