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

Issue 2391003004: Fix common axes logic to detect negated axes as not common (Closed)

Created:
4 years, 2 months ago by alancutter (OOO until 2018)
Modified:
4 years, 2 months ago
Reviewers:
jbroman
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

Fix common axes logic to detect negated axes as not common When interpolating rotate3d transforms we were considering axes that are the negation of each other to be in the same direction. This patch fixes this mistake by checking the sign of the dot product. Spec text for rotate3d interpolation: https://drafts.csswg.org/css-transforms/#ref-for-funcdef-rotate3d-3 For interpolations with the primitive rotate3d(), the direction vectors of the transform functions get normalized first. If the normalized vectors are equal, the rotation angle gets interpolated numerically. Otherwise the transform functions get converted into 4x4 matrices first and interpolated as defined in section Interpolation of Matrices afterwards. BUG=652705 Committed: https://crrev.com/b69d3d2ec0d8bd333157dc33f5e1da1eaf76e5fb Cr-Commit-Position: refs/heads/master@{#423802}

Patch Set 1 #

Patch Set 2 : Update expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/animations/rotate3d-negated-axes.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/rotate3d-negated-axes-expected.html View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/transforms/Rotation.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/transforms/RotationTest.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/transforms/TransformOperationsTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (10 generated)
alancutter (OOO until 2018)
4 years, 2 months ago (2016-10-05 06:19:56 UTC) #2
jbroman
Apologies for the review delay. This is unintuitive to me; I'd have expected them to ...
4 years, 2 months ago (2016-10-06 22:28:09 UTC) #3
alancutter (OOO until 2018)
On 2016/10/06 at 22:28:09, jbroman wrote: > Apologies for the review delay. > > This ...
4 years, 2 months ago (2016-10-07 00:33:45 UTC) #6
alancutter (OOO until 2018)
On 2016/10/07 at 00:33:45, alancutter wrote: > On 2016/10/06 at 22:28:09, jbroman wrote: > > ...
4 years, 2 months ago (2016-10-07 00:34:01 UTC) #7
jbroman
lgtm Thanks for the spec reference.
4 years, 2 months ago (2016-10-07 00:41:45 UTC) #8
alancutter (OOO until 2018)
Thanks for the review.
4 years, 2 months ago (2016-10-07 00:42:46 UTC) #9
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/2391003004/1
4 years, 2 months ago (2016-10-07 00:43:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/311901)
4 years, 2 months ago (2016-10-07 01:47:20 UTC) #13
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/2391003004/20001
4 years, 2 months ago (2016-10-07 03:13:01 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/156112)
4 years, 2 months ago (2016-10-07 04:30:17 UTC) #18
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/2391003004/20001
4 years, 2 months ago (2016-10-07 04:33:47 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-07 05:54:21 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 05:56:46 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b69d3d2ec0d8bd333157dc33f5e1da1eaf76e5fb
Cr-Commit-Position: refs/heads/master@{#423802}

Powered by Google App Engine
This is Rietveld 408576698