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

Issue 196413030: Web animations: Supply CSS transition easing (Closed)

Created:
6 years, 9 months ago by Eric Willigers
Modified:
6 years, 9 months ago
Reviewers:
dstockwell, shans
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Supply CSS transition easing when creating keyframes for CSS transitions Linear easing was being supplied instead of the timing function specified by the user. Example for testing: http://jsbin.com/sihif/1/quiet Cubic bezier keyframe easings were being calculated without knowledge of the iteration duration. This led to inconsistency in the accuracy being requested. We now always use the iteration duration when choosing the accuracy for timing function evaluation. Without this, the transitions layout tests opacity-transform-transitions-inside-iframe.html and cubic-bezier-overflow-length.html would have needed rebaselining. BUG=352919 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169897

Patch Set 1 #

Patch Set 2 : Moved out cubic-bezier-overflow-length correction to issue 205623002 #

Patch Set 3 : Use iteration duration when choosing accuracy during keyframe animation #

Total comments: 4

Patch Set 4 : kDuration to duration #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -74 lines) Patch
M Source/core/animation/Animation.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/AnimationEffect.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InertAnimation.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InterpolationEffect.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InterpolationEffect.cpp View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/animation/InterpolationEffectTest.cpp View 1 2 3 3 chunks +22 lines, -11 lines 0 comments Download
M Source/core/animation/KeyframeEffectModel.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/KeyframeEffectModel.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/animation/KeyframeEffectModelTest.cpp View 1 2 3 4 21 chunks +46 lines, -42 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Eric Willigers
6 years, 9 months ago (2014-03-19 09:50:31 UTC) #1
Eric Willigers
opacity-transform-transitions-inside-iframe.html and cubic-bezier-overflow-length.html give slightly different results. The reason is that a different accuracy value ...
6 years, 9 months ago (2014-03-20 12:11:10 UTC) #2
Eric Willigers
PTAL
6 years, 9 months ago (2014-03-21 01:46:47 UTC) #3
Eric Willigers
+dstockwell
6 years, 9 months ago (2014-03-21 04:20:58 UTC) #4
shans
lgtm https://codereview.chromium.org/196413030/diff/40001/Source/core/animation/InterpolationEffectTest.cpp File Source/core/animation/InterpolationEffectTest.cpp (right): https://codereview.chromium.org/196413030/diff/40001/Source/core/animation/InterpolationEffectTest.cpp#newcode12 Source/core/animation/InterpolationEffectTest.cpp:12: const double kDuration = 1.0; 'duration' is fine. ...
6 years, 9 months ago (2014-03-21 04:41:40 UTC) #5
Eric Willigers
https://codereview.chromium.org/196413030/diff/40001/Source/core/animation/InterpolationEffectTest.cpp File Source/core/animation/InterpolationEffectTest.cpp (right): https://codereview.chromium.org/196413030/diff/40001/Source/core/animation/InterpolationEffectTest.cpp#newcode12 Source/core/animation/InterpolationEffectTest.cpp:12: const double kDuration = 1.0; On 2014/03/21 04:41:41, shans ...
6 years, 9 months ago (2014-03-21 04:52:29 UTC) #6
dstockwell
lgtm
6 years, 9 months ago (2014-03-24 21:23:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericwilligers@chromium.org/196413030/60001
6 years, 9 months ago (2014-03-24 21:23:58 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-24 21:25:05 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/KeyframeEffectModelTest.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-24 21:25:06 UTC) #10
Eric Willigers
The CQ bit was checked by ericwilligers@chromium.org
6 years, 9 months ago (2014-03-25 00:12:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericwilligers@chromium.org/196413030/80001
6 years, 9 months ago (2014-03-25 00:13:08 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 00:14:26 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-25 00:14:27 UTC) #14
Eric Willigers
The CQ bit was checked by ericwilligers@chromium.org
6 years, 9 months ago (2014-03-25 01:11:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericwilligers@chromium.org/196413030/80001
6 years, 9 months ago (2014-03-25 01:11:28 UTC) #16
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 01:27:22 UTC) #17
Message was sent while issue was closed.
Change committed as 169897

Powered by Google App Engine
This is Rietveld 408576698