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

Issue 1319653002: Web Animations: Don't suppress graphics layer properties when cancelling animations (Closed)

Created:
5 years, 3 months ago by dstockwell
Modified:
5 years, 3 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, shans
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Web Animations: Don't suppress graphics layer properties when cancelling animations CompositedDeprecatedPaintLayerMapping contains logic to suppress redundant changes to layers while composited animations are running. The order of operations (composted animations are updated after layers) meant that a compositing update that resulted in the cancelling of compositor animations would still suppress these values. BUG=501297 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201214

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
A LayoutTests/animations/composited-with-hit-testing.html View 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/animations/composited-with-hit-testing-expected.html View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/animation/AnimationStack.cpp View 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 14 (5 generated)
dstockwell
5 years, 3 months ago (2015-08-26 05:09:45 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319653002/1
5 years, 3 months ago (2015-08-26 05:10:57 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/44698)
5 years, 3 months ago (2015-08-26 06:29:48 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/44698)
5 years, 3 months ago (2015-08-26 06:29:49 UTC) #7
alancutter (OOO until 2018)
lgtm
5 years, 3 months ago (2015-08-26 06:29:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319653002/1
5 years, 3 months ago (2015-08-26 06:51:04 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=201214
5 years, 3 months ago (2015-08-26 08:23:39 UTC) #11
esprehn
https://codereview.chromium.org/1319653002/diff/1/Source/core/animation/AnimationStack.cpp File Source/core/animation/AnimationStack.cpp (right): https://codereview.chromium.org/1319653002/diff/1/Source/core/animation/AnimationStack.cpp#newcode78 Source/core/animation/AnimationStack.cpp:78: if (sampledEffect->effect() && sampledEffect->effect()->animation()->playing() && sampledEffect->effect()->hasActiveAnimationsOnCompositor(property)) Can you explain ...
5 years, 3 months ago (2015-08-26 08:44:28 UTC) #13
dstockwell
5 years, 3 months ago (2015-08-27 01:53:52 UTC) #14
Message was sent while issue was closed.
On 2015/08/26 at 08:44:28, esprehn wrote:
>
https://codereview.chromium.org/1319653002/diff/1/Source/core/animation/Anima...
> File Source/core/animation/AnimationStack.cpp (right):
> 
>
https://codereview.chromium.org/1319653002/diff/1/Source/core/animation/Anima...
> Source/core/animation/AnimationStack.cpp:78: if (sampledEffect->effect() &&
sampledEffect->effect()->animation()->playing() &&
sampledEffect->effect()->hasActiveAnimationsOnCompositor(property))
> Can you explain why this fixes the bug? Your description doesn't really
explain why adding a check for playing() fixes it.

If the animation is not playing, then we should not consider the registered
compositor animations to be active as they will be subsequently cancelled.

Powered by Google App Engine
This is Rietveld 408576698