NEW 114179
[CSS Filters] Add automated regression test for CA filter animation
https://bugs.webkit.org/show_bug.cgi?id=114179
Summary [CSS Filters] Add automated regression test for CA filter animation
Max Vujovic
Reported 2013-04-08 11:18:41 PDT
smfr provided a manual test case in bug 114067, which we should automate and check in. He used the test case to find a regression caused by the patch in bug 109098.
Attachments
Max Vujovic
Comment 1 2013-04-10 16:40:49 PDT
An API to dump the current accelerated animations on a platform layer could be a good way to test this. I looked at using the Internals::pauseTransitionAtTimeOnElement API to take a snapshot in the middle of an accelerated animation, but it looks like it fast-forwards the animation to the desired time and then does a style recalculation. I don't think this would catch the kind of regression that occurred in bug 114067, where the start state and end state were fine but the accelerated animation didn't run. See AnimationControllerPrivate::pauseAnimationAtTime... if (compAnim->pauseAnimationAtTime(name, t)) { renderer->node()->setNeedsStyleRecalc(SyntheticStyleChange); startUpdateStyleIfNeededDispatcher(); return true; }
Note You need to log in before you can comment on or make changes to this bug.