Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(6)

Issue 1153413007: Resolve style in element.animate() (Closed)

Created:
4 years, 11 months ago by alancutter (OOO until 2018)
Modified:
4 years, 11 months ago
Reviewers:
dstockwell, esprehn
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, shans
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Resolve style in element.animate() This reverts the change to EffectInput::convert() made by https://codereview.chromium.org/343563002. This fixes issues when computing compositor animation values using an out of date element style. BUG=495922 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196479

Patch Set 1 #

Patch Set 2 : Make unittests work again #

Total comments: 1

Patch Set 3 : Actually make unittests pass #

Total comments: 4

Patch Set 4 : Add DOCTYPE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -4 lines) Patch
A LayoutTests/animations/composited-animation-style-update.html View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/animations/composited-animation-style-update-expected.html View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/animation/EffectInput.cpp View 2 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/animation/EffectInputTest.cpp View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M Source/core/animation/KeyframeEffectTest.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
alancutter (OOO until 2018)
Confirmed locally that this does not regress performance on Nexus 10 composited tough_animation_cases.
4 years, 11 months ago (2015-06-04 04:46:14 UTC) #2
esprehn
Looks like you made it fail lots of unit tests, now it doesn't throw an ...
4 years, 11 months ago (2015-06-04 06:09:13 UTC) #3
shans
On 2015/06/04 06:09:13, esprehn wrote: > Looks like you made it fail lots of unit ...
4 years, 11 months ago (2015-06-04 06:15:31 UTC) #4
esprehn
https://codereview.chromium.org/1153413007/diff/20001/Source/core/animation/EffectInput.cpp File Source/core/animation/EffectInput.cpp (right): https://codereview.chromium.org/1153413007/diff/20001/Source/core/animation/EffectInput.cpp#newcode199 Source/core/animation/EffectInput.cpp:199: if (!element->inActiveDocument()) This unsafe thing just for unit tests ...
4 years, 11 months ago (2015-06-04 06:18:10 UTC) #5
esprehn
On 2015/06/04 at 06:18:10, esprehn wrote: > https://codereview.chromium.org/1153413007/diff/20001/Source/core/animation/EffectInput.cpp > File Source/core/animation/EffectInput.cpp (right): > > https://codereview.chromium.org/1153413007/diff/20001/Source/core/animation/EffectInput.cpp#newcode199 ...
4 years, 11 months ago (2015-06-04 06:20:30 UTC) #6
alancutter (OOO until 2018)
On 2015/06/04 at 06:20:30, esprehn wrote: > On 2015/06/04 at 06:18:10, esprehn wrote: > > ...
4 years, 11 months ago (2015-06-04 06:33:11 UTC) #7
esprehn
lgtm https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update-expected.html File LayoutTests/animations/composited-animation-style-update-expected.html (right): https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update-expected.html#newcode1 LayoutTests/animations/composited-animation-style-update-expected.html:1: <style> ditto. https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update.html File LayoutTests/animations/composited-animation-style-update.html (right): https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update.html#newcode1 LayoutTests/animations/composited-animation-style-update.html:1: ...
4 years, 11 months ago (2015-06-04 06:35:01 UTC) #8
alancutter (OOO until 2018)
https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update-expected.html File LayoutTests/animations/composited-animation-style-update-expected.html (right): https://codereview.chromium.org/1153413007/diff/40001/LayoutTests/animations/composited-animation-style-update-expected.html#newcode1 LayoutTests/animations/composited-animation-style-update-expected.html:1: <style> On 2015/06/04 at 06:35:01, esprehn wrote: > ditto. ...
4 years, 11 months ago (2015-06-04 06:45:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153413007/60001
4 years, 11 months ago (2015-06-04 06:47:59 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2015-06-04 08:24:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196479

Powered by Google App Engine
This is Rietveld 408576698