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

Issue 2225743002: Use same layout logic in animations for deciding whether an element can transform (Closed)

Created:
4 years, 4 months ago by alancutter (OOO until 2018)
Modified:
4 years, 4 months ago
Reviewers:
trchen, jbroman, eae
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, Eric Willigers, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rjwright, shans, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update logic in animations for deciding whether an element can transform This change makes CompositorAnimations.cpp more closely match the logic used in paint code for deciding whether an element's used transform is not none. BUG=633021 Committed: https://crrev.com/dc4a00b29ecc52a9eb29ceb433101c4075a5d84f Cr-Commit-Position: refs/heads/master@{#410987}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review comments #

Total comments: 1

Patch Set 3 : isTransformApplicable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/virtual/threaded/animations/img-element-transform.html View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
alancutter (OOO until 2018)
4 years, 4 months ago (2016-08-08 07:14:04 UTC) #2
jbroman
Seems reasonable to me, but you should probably get a core/layout/ owner's opinion as well. ...
4 years, 4 months ago (2016-08-08 22:50:58 UTC) #3
loyso (OOO)
JFYI, it shouldn't regress the bug 592803 (see the fix from dstockwell@ here: https://codereview.chromium.org/1775743002 )
4 years, 4 months ago (2016-08-09 00:16:03 UTC) #4
alancutter (OOO until 2018)
+eae for core/layout review.
4 years, 4 months ago (2016-08-09 01:00:02 UTC) #6
alancutter (OOO until 2018)
Note that this patch doesn't affect whether an element can be transformed, only whether we ...
4 years, 4 months ago (2016-08-09 01:01:22 UTC) #7
trchen
https://codereview.chromium.org/2225743002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2225743002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode715 third_party/WebKit/Source/core/layout/LayoutObject.h:715: bool canTransform() const { return isBox(); } SVG? For ...
4 years, 4 months ago (2016-08-09 01:22:02 UTC) #9
alancutter (OOO until 2018)
On 2016/08/09 at 01:22:02, trchen wrote: > https://codereview.chromium.org/2225743002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h > File third_party/WebKit/Source/core/layout/LayoutObject.h (right): > > https://codereview.chromium.org/2225743002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode715 ...
4 years, 4 months ago (2016-08-09 02:07:21 UTC) #10
eae
LGTM for core/layout
4 years, 4 months ago (2016-08-09 13:50:13 UTC) #11
trchen
Other than that, lgtm. https://codereview.chromium.org/2225743002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2225743002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode136 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:136: if (object.canTransformOnCompositor() && (style.hasTransform() || ...
4 years, 4 months ago (2016-08-09 21:57:13 UTC) #12
alancutter (OOO until 2018)
On 2016/08/09 at 21:57:13, trchen wrote: > Other than that, lgtm. > > https://codereview.chromium.org/2225743002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > ...
4 years, 4 months ago (2016-08-10 00:12:11 UTC) #13
trchen
On 2016/08/10 00:12:11, alancutter wrote: > On 2016/08/09 at 21:57:13, trchen wrote: > > Other ...
4 years, 4 months ago (2016-08-10 00:56:59 UTC) #14
alancutter (OOO until 2018)
On 2016/08/10 at 00:56:59, trchen wrote: > > My intention is for animations to mirror ...
4 years, 4 months ago (2016-08-10 01:42:18 UTC) #15
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/2225743002/40001
4 years, 4 months ago (2016-08-10 01:46:47 UTC) #19
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/119463)
4 years, 4 months ago (2016-08-10 03:17:34 UTC) #21
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/2225743002/40001
4 years, 4 months ago (2016-08-10 04:44:06 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 06:55:10 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 06:57:07 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dc4a00b29ecc52a9eb29ceb433101c4075a5d84f
Cr-Commit-Position: refs/heads/master@{#410987}

Powered by Google App Engine
This is Rietveld 408576698