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

Issue 2680923005: Refactor CSS Transitions to use CSSInterpolationTypes instead of AnimatableValues (Closed)

Created:
3 years, 10 months ago by alancutter (OOO until 2018)
Modified:
3 years, 10 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, Eric Willigers, rjwright, rwlbuis, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor CSS Transitions to use CSSInterpolationTypes instead of AnimatableValues This patch updates CSSAnimations::calculateTransitionUpdateForProperty() to use TransitionKeyframes instead of AnimatableValueKeyframes. This obsoletes the use of AnimatableValues as the main data type for CSS Transitions by replacing them with InterpolationValues and CSSInterpolationTypes. Design doc: https://docs.google.com/document/d/14tj6M5kyNpr10dFp5m43udOMUVPwxnulBEW7Kvh2vMs/edit?usp=sharing BUG=681424 Review-Url: https://codereview.chromium.org/2680923005 Cr-Commit-Position: refs/heads/master@{#451598} Committed: https://chromium.googlesource.com/chromium/src/+/6b6a6c64cdccdb95c20fa6c704cd44d5685f9be9

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : cleanups #

Total comments: 1

Patch Set 4 : lint #

Total comments: 2

Patch Set 5 : removebarkbarkbrakbr #

Patch Set 6 : Don't use auto #

Total comments: 4

Patch Set 7 : Fix transition tests to not expect incorrect behaviour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -2635 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/backdrop-filter-interpolation-expected.txt View 1 1 chunk +0 lines, -427 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/border-image-source-interpolation-expected.txt View 1 1 chunk +0 lines, -172 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/box-shadow-interpolation-expected.txt View 1 1 chunk +0 lines, -187 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/filter-interpolation-expected.txt View 1 1 chunk +0 lines, -286 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/interpolation/list-style-image-interpolation-expected.txt View 1 1 chunk +10 lines, -10 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/svg-d-interpolation-expected.txt View 1 1 chunk +0 lines, -574 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation-expected.txt View 1 1 chunk +0 lines, -469 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/text-indent-interpolation-expected.txt View 1 1 chunk +0 lines, -172 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/text-shadow-interpolation-expected.txt View 1 1 chunk +0 lines, -112 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/webkit-mask-box-image-source-interpolation-expected.txt View 1 1 chunk +0 lines, -116 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html View 1 2 2 chunks +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/transitions/mismatched-shadow-transitions.html View 1 2 3 4 5 6 1 chunk +0 lines, -50 lines 0 comments Download
D third_party/WebKit/LayoutTests/transitions/mismatched-shadow-transitions-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/transitions/multiple-shadow-transitions.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/transitions/multiple-shadow-transitions-expected.txt View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/transitions/svg-transitions.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/transitions/svg-transitions-expected.txt View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 1 2 3 4 5 9 chunks +79 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
alancutter (OOO until 2018)
3 years, 10 months ago (2017-02-16 04:45:32 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/2680923005/diff/40001/third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html File third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html (left): https://codereview.chromium.org/2680923005/diff/40001/third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html#oldcode6 third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html:6: transition: 1s; This test was broken. We can't have ...
3 years, 10 months ago (2017-02-16 04:58:19 UTC) #6
suzyh_UTC10 (ex-contributor)
Yay! Thanks for getting this done. I want to give it another look over before ...
3 years, 10 months ago (2017-02-17 00:34:19 UTC) #7
alancutter (OOO until 2018)
https://codereview.chromium.org/2680923005/diff/60001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp File third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/2680923005/diff/60001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp#newcode689 third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp:689: // const_cast because we need to take a ref ...
3 years, 10 months ago (2017-02-17 00:54:57 UTC) #8
suzyh_UTC10 (ex-contributor)
lgtm https://codereview.chromium.org/2680923005/diff/100001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp File third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/2680923005/diff/100001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp#newcode654 third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp:654: for (const auto& interpolationType : map.get(property)) { (No ...
3 years, 10 months ago (2017-02-19 23:57:54 UTC) #9
alancutter (OOO until 2018)
https://codereview.chromium.org/2680923005/diff/100001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp File third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/2680923005/diff/100001/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp#newcode654 third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp:654: for (const auto& interpolationType : map.get(property)) { On 2017/02/19 ...
3 years, 10 months ago (2017-02-20 00:07:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2680923005/120001
3 years, 10 months ago (2017-02-20 06:34:53 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/391653)
3 years, 10 months ago (2017-02-20 08:35:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2680923005/120001
3 years, 10 months ago (2017-02-20 10:39:31 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 11:34:47 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/6b6a6c64cdccdb95c20fa6c704cd...

Powered by Google App Engine
This is Rietveld 408576698