Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Issue 14556022: Simplify animation testing API (Closed)

Created:
7 years, 7 months ago by dstockwell
Modified:
7 years, 7 months ago
Reviewers:
shans, Steve Block, eseidel
CC:
blink-reviews, shans, dstockwell, Steve Block, darktears, alancutter (OOO until 2018)
Visibility:
Public.

Description

Simplify animation testing API This merges pause{Animation|Transition}AtTimeOn[Pseudo]Element into a single function, pauseAnimations. The ability to pause individual animations and transitions is not actually required for testing purposes. This will enable further work to convert most of the animation tests to use the pause API, and should simplify transition to the new model. R= BUG=235752 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149860

Patch Set 1 : Mostly works. #

Patch Set 2 : Updated internals API and tests #

Patch Set 3 : Fix svg-transition test #

Patch Set 4 : Remove unused code. #

Patch Set 5 : Add new tests. #

Total comments: 6

Patch Set 6 : Address comments #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -479 lines) Patch
M LayoutTests/animations/animation-delay-changed.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/animation-hit-test.html View 1 1 chunk +1 line, -3 lines 0 comments Download
M LayoutTests/animations/animation-hit-test-transform.html View 1 1 chunk +1 line, -3 lines 0 comments Download
D LayoutTests/animations/animation-internals-api.html View 1 1 chunk +0 lines, -63 lines 0 comments Download
D LayoutTests/animations/animation-internals-api-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
D LayoutTests/animations/animation-internals-api-multiple-keyframes.html View 1 1 chunk +0 lines, -62 lines 0 comments Download
D LayoutTests/animations/animation-internals-api-multiple-keyframes-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/animations/change-keyframes.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/change-keyframes-name.html View 1 1 chunk +5 lines, -12 lines 0 comments Download
M LayoutTests/animations/change-keyframes-name-expected.txt View 1 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/animations/change-one-anim.html View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/animations/empty-keyframe-animation.html View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A LayoutTests/animations/empty-keyframe-animation-expected.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/animations/missing-from-to.html View 1 2 3 4 5 3 chunks +3 lines, -21 lines 0 comments Download
M LayoutTests/animations/missing-from-to-expected.txt View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/animations/missing-from-to-transforms.html View 1 3 chunks +2 lines, -19 lines 0 comments Download
M LayoutTests/animations/missing-from-to-transforms-expected.txt View 1 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/animations/resources/animation-test-helpers.js View 1 2 3 4 5 4 chunks +9 lines, -21 lines 0 comments Download
M LayoutTests/animations/transition-and-animation-1.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/transition-and-animation-2.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/transition-and-animation-3.html View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/animations/wrong-keyframe-name.html View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/animations/wrong-keyframe-name-expected.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/css3/calc/transitions-dependent.html View 1 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/fast/css-generated-content/pseudo-animation.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css-generated-content/pseudo-transition.html View 1 1 chunk +2 lines, -4 lines 0 comments Download
M LayoutTests/fast/dom/shadow/transition-on-shadow-host-with-distributed-node.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/transitions/opacity-transition-zindex.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/transitions/resources/transition-test-helpers.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/transitions/svg-transitions-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D LayoutTests/transitions/transition-drt-api.html View 1 1 chunk +0 lines, -56 lines 0 comments Download
M LayoutTests/transitions/transition-drt-api-delay.html View 1 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/transitions/transition-drt-api-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/transitions/transition-hit-test.html View 1 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/transitions/transition-hit-test-transform.html View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/AnimationController.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/AnimationController.cpp View 1 3 chunks +7 lines, -39 lines 0 comments Download
M Source/core/page/animation/AnimationControllerPrivate.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/CSSPropertyAnimation.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/page/animation/CSSPropertyAnimation.cpp View 1 2 3 2 chunks +0 lines, -33 lines 0 comments Download
M Source/core/page/animation/CompositeAnimation.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/CompositeAnimation.cpp View 1 2 3 4 5 6 1 chunk +16 lines, -36 lines 0 comments Download
M Source/core/testing/Internals.h View 1 2 3 4 5 6 1 chunk +2 lines, -7 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -56 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 3 4 5 6 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dstockwell
7 years, 7 months ago (2013-05-05 23:06:40 UTC) #1
Steve Block
I'm not really qualified to review this, but just spotted a few minor things while ...
7 years, 7 months ago (2013-05-06 01:49:06 UTC) #2
dstockwell
https://codereview.chromium.org/14556022/diff/18001/LayoutTests/animations/empty-keyframe-animation.html File LayoutTests/animations/empty-keyframe-animation.html (right): https://codereview.chromium.org/14556022/diff/18001/LayoutTests/animations/empty-keyframe-animation.html#newcode35 LayoutTests/animations/empty-keyframe-animation.html:35: testRunner.dumpAsText(); On 2013/05/06 01:49:06, Steve Block wrote: > I ...
7 years, 7 months ago (2013-05-06 04:01:00 UTC) #3
dstockwell
Eric, could you review, or suggest a reviewer for this change?
7 years, 7 months ago (2013-05-07 01:40:56 UTC) #4
eseidel
lgtm
7 years, 7 months ago (2013-05-07 07:08:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/14556022/26001
7 years, 7 months ago (2013-05-07 07:08:17 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/core/page/animation/CompositeAnimation.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-07 07:08:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/14556022/33001
7 years, 7 months ago (2013-05-07 07:31:58 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 09:07:22 UTC) #9
Message was sent while issue was closed.
Change committed as 149860

Powered by Google App Engine
This is Rietveld 408576698