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

Issue 2691863002: Animations: Smooth interpolation for rotate none (Closed)

Created:
3 years, 10 months ago by Eric Willigers
Modified:
3 years, 10 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Animations: Smooth interpolation for rotate none When rotate is animating or transitioning, and the from value or to value (but not both) is none, the value none is replaced by the equivalent identity value: 0deg https://drafts.csswg.org/css-transforms-2/#individual-transforms BUG=679873 Review-Url: https://codereview.chromium.org/2691863002 Cr-Commit-Position: refs/heads/master@{#449910} Committed: https://chromium.googlesource.com/chromium/src/+/1f37ab2e5576e8ce57c0eb58e412c65f0b66021b

Patch Set 1 #

Total comments: 6

Patch Set 2 : review feedback #

Total comments: 2

Patch Set 3 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -241 lines) Patch
M third_party/WebKit/LayoutTests/animations/composition/rotate-composition.html View 3 chunks +3 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation-expected.txt View 1 chunk +0 lines, -202 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp View 1 2 10 chunks +90 lines, -36 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Eric Willigers
An alternate approach would be to use NaN to represent 'none'. Using a bool is ...
3 years, 10 months ago (2017-02-12 22:31:26 UTC) #4
alancutter (OOO until 2018)
lgtm after comments addressed. https://codereview.chromium.org/2691863002/diff/1/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp (right): https://codereview.chromium.org/2691863002/diff/1/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp#newcode18 third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp:18: : m_rotation(Rotation(FloatPoint3D(0, 0, 1), 0)), ...
3 years, 10 months ago (2017-02-13 02:56:55 UTC) #7
Eric Willigers
https://codereview.chromium.org/2691863002/diff/1/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp (right): https://codereview.chromium.org/2691863002/diff/1/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp#newcode18 third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp:18: : m_rotation(Rotation(FloatPoint3D(0, 0, 1), 0)), m_isNone(true) {} On 2017/02/13 ...
3 years, 10 months ago (2017-02-13 03:02:23 UTC) #8
alancutter (OOO until 2018)
https://codereview.chromium.org/2691863002/diff/20001/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp (right): https://codereview.chromium.org/2691863002/diff/20001/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp#newcode17 third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp:17: OptionalRotation() : m_rotation(Rotation()), m_isNone(true) {} No need to call ...
3 years, 10 months ago (2017-02-13 03:29:36 UTC) #9
Eric Willigers
https://codereview.chromium.org/2691863002/diff/20001/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp (right): https://codereview.chromium.org/2691863002/diff/20001/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp#newcode17 third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp:17: OptionalRotation() : m_rotation(Rotation()), m_isNone(true) {} On 2017/02/13 03:29:36, alancutter ...
3 years, 10 months ago (2017-02-13 03:59:43 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/2691863002/40001
3 years, 10 months ago (2017-02-13 05:29:12 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 05:33:22 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1f37ab2e5576e8ce57c0eb58e412...

Powered by Google App Engine
This is Rietveld 408576698