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

Issue 811993002: Animation: Implement DoubleStyleInterpolation in StringKeyframe (Closed)

Created:
6 years ago by jadeg
Modified:
5 years, 10 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, Mike Lawther (Google), rjwright, shans, Steve Block, Timothy Loh
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Adding the case handling of CSSValues in string keyframe which use DoubleStyleInterpolation. Have also implemented more clamping cases in DoubleStyleInterpolation to handle these cases. BUG=443039 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190004

Patch Set 1 #

Patch Set 2 : Implemented LengthBox, Double and fixed Length #

Total comments: 27

Patch Set 3 : Implementation of Double #

Patch Set 4 : Add length Prtoperty #

Total comments: 9

Patch Set 5 : Opacity runs on compositor #

Total comments: 6

Patch Set 6 : Implement value cache function #

Total comments: 5

Patch Set 7 : Created more layout tests #

Total comments: 52

Patch Set 8 : Apply all of Alan and Doug's changes #

Total comments: 10

Patch Set 9 : Alter clamping #

Patch Set 10 : rebase #

Total comments: 1

Patch Set 11 : Remove shape image threshold test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -18 lines) Patch
M LayoutTests/animations/interpolation/opacity-interpolation.html View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/opacity-interpolation-expected.txt View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-image-threshold.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-image-threshold-expected.txt View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/widows-interpolation.html View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/widows-interpolation-expected.txt View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/z-index-interpolation.html View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/z-index-interpolation-expected.txt View 1 2 3 4 5 6 2 chunks +26 lines, -0 lines 0 comments Download
M Source/core/animation/DoubleStyleInterpolation.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -4 lines 0 comments Download
M Source/core/animation/StringKeyframe.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/animation/StringKeyframe.cpp View 1 2 3 4 5 6 7 8 9 10 7 chunks +65 lines, -13 lines 0 comments Download
M Source/core/animation/StyleInterpolation.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 45 (8 generated)
jadeg
6 years ago (2014-12-17 03:31:30 UTC) #2
Eric Willigers
https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp#newcode155 Source/core/animation/StringKeyframe.cpp:155: case CSSPropertyBorderImageSlice: Let's move the two LengthBoxStyleInterpolation cases to ...
6 years ago (2014-12-19 00:16:13 UTC) #3
samli
Also add a better title & description for this CL describing exactly what is being ...
6 years ago (2014-12-22 03:41:15 UTC) #5
Eric Willigers
https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (left): https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp#oldcode114 Source/core/animation/StringKeyframe.cpp:114: case CSSPropertyWordSpacing: Removing case CSSPropertyLetterSpacing: case CSSPropertyOutlineOffset: case CSSPropertyWordSpacing: ...
6 years ago (2014-12-22 05:02:41 UTC) #6
Eric Willigers
https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (left): https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp#oldcode82 Source/core/animation/StringKeyframe.cpp:82: case CSSPropertyBorderLeftWidth: case CSSPropertyBorderBottomWidth: case CSSPropertyBorderLeftWidth: case CSSPropertyBorderRightWidth: case ...
6 years ago (2014-12-22 07:35:38 UTC) #7
dstockwell
Is this change still in progress?
5 years, 11 months ago (2014-12-31 00:12:24 UTC) #8
jadeg
https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (left): https://codereview.chromium.org/811993002/diff/20001/Source/core/animation/StringKeyframe.cpp#oldcode82 Source/core/animation/StringKeyframe.cpp:82: case CSSPropertyBorderLeftWidth: On 2014/12/22 07:35:38, Eric Willigers wrote: > ...
5 years, 11 months ago (2015-01-05 23:15:20 UTC) #9
Eric Willigers
Looks good. LengthStyleInterpolation should no longer be in the description. https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode25 ...
5 years, 11 months ago (2015-01-14 01:43:36 UTC) #10
jadeg
https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode25 Source/core/animation/DoubleStyleInterpolation.cpp:25: if (clamp == ClampOpacity) On 2015/01/14 01:43:36, Eric Willigers ...
5 years, 11 months ago (2015-01-18 22:59:42 UTC) #11
Eric Willigers
https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/StringKeyframe.cpp#newcode89 Source/core/animation/StringKeyframe.cpp:89: return DoubleStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, ClampZero); On 2015/01/18 22:59:41, jadeg ...
5 years, 11 months ago (2015-01-18 23:16:14 UTC) #12
jadeg
On 2015/01/18 23:16:14, Eric Willigers wrote: > https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/StringKeyframe.cpp > File Source/core/animation/StringKeyframe.cpp (right): > > https://codereview.chromium.org/811993002/diff/60001/Source/core/animation/StringKeyframe.cpp#newcode89 ...
5 years, 11 months ago (2015-01-19 02:15:57 UTC) #13
Eric Willigers
lgtm
5 years, 11 months ago (2015-01-19 02:22:37 UTC) #14
alancutter (OOO until 2018)
https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode30 Source/core/animation/DoubleStyleInterpolation.cpp:30: doubleValue = clampTo<float>(doubleValue, 0, nextafter(0.9999, 0)); Why did this ...
5 years, 11 months ago (2015-01-19 02:52:30 UTC) #16
jadeg
https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode30 Source/core/animation/DoubleStyleInterpolation.cpp:30: doubleValue = clampTo<float>(doubleValue, 0, nextafter(0.9999, 0)); On 2015/01/19 02:52:30, ...
5 years, 11 months ago (2015-01-22 22:14:23 UTC) #17
evemj (not active)
lgtm
5 years, 11 months ago (2015-01-22 23:32:36 UTC) #18
Eric Willigers
https://codereview.chromium.org/811993002/diff/100001/Source/core/animation/Keyframe.h File Source/core/animation/Keyframe.h (right): https://codereview.chromium.org/811993002/diff/100001/Source/core/animation/Keyframe.h#newcode74 Source/core/animation/Keyframe.h:74: No need for this extra line https://codereview.chromium.org/811993002/diff/100001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp ...
5 years, 11 months ago (2015-01-22 23:38:57 UTC) #19
dstockwell
On 2015/01/22 at 22:14:23, jadeg wrote: > https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp > File Source/core/animation/DoubleStyleInterpolation.cpp (right): > > https://codereview.chromium.org/811993002/diff/80001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode30 ...
5 years, 11 months ago (2015-01-23 00:44:23 UTC) #20
jadeg
On 2015/01/23 00:44:23, dstockwell wrote: > On 2015/01/22 at 22:14:23, jadeg wrote: > > > ...
5 years, 11 months ago (2015-01-23 02:18:49 UTC) #21
dstockwell
On 2015/01/23 at 02:18:49, jadeg wrote: > On 2015/01/23 00:44:23, dstockwell wrote: > > On ...
5 years, 11 months ago (2015-01-23 04:55:03 UTC) #22
Eric Willigers
flexGrow and flexShrink must be non-negative. Please add layout test cases, and implement clamping. shapeImageThreshold ...
5 years, 10 months ago (2015-01-28 22:24:45 UTC) #23
Eric Willigers
opacity has a change in behavior: opacity from [-2] to [-4] is now [0.5] at ...
5 years, 10 months ago (2015-01-29 02:01:27 UTC) #24
Eric Willigers
A summary of my comments: CSSPropertyZIndex CSSPropertyWidows We should be rounding instead of introducing truncation. ...
5 years, 10 months ago (2015-01-29 02:09:14 UTC) #25
jadeg
On 2015/01/23 04:55:03, dstockwell wrote: > On 2015/01/23 at 02:18:49, jadeg wrote: > > On ...
5 years, 10 months ago (2015-01-30 07:32:14 UTC) #26
jadeg
On 2015/01/30 07:32:14, jadeg wrote: > On 2015/01/23 04:55:03, dstockwell wrote: > > On 2015/01/23 ...
5 years, 10 months ago (2015-01-30 08:03:52 UTC) #27
jadeg
On 2015/01/29 02:09:14, Eric Willigers wrote: > A summary of my comments: > > CSSPropertyZIndex ...
5 years, 10 months ago (2015-02-04 05:58:59 UTC) #28
Eric Willigers
Can an owner please review. https://codereview.chromium.org/811993002/diff/120001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/811993002/diff/120001/Source/core/animation/StringKeyframe.cpp#newcode197 Source/core/animation/StringKeyframe.cpp:197: case CSSPropertyFlexGrow: Can we ...
5 years, 10 months ago (2015-02-04 06:16:27 UTC) #29
dstockwell
https://codereview.chromium.org/811993002/diff/120001/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/811993002/diff/120001/Source/core/animation/DoubleStyleInterpolation.cpp#newcode39 Source/core/animation/DoubleStyleInterpolation.cpp:39: case RangeFractions: Why did this one get renamed from ...
5 years, 10 months ago (2015-02-04 11:09:28 UTC) #30
alancutter (OOO until 2018)
You should list the properties being switched over to the new model in the description. ...
5 years, 10 months ago (2015-02-04 20:24:38 UTC) #31
jadeg
https://codereview.chromium.org/811993002/diff/120001/LayoutTests/animations/interpolation/flex-interpolation.html File LayoutTests/animations/interpolation/flex-interpolation.html (right): https://codereview.chromium.org/811993002/diff/120001/LayoutTests/animations/interpolation/flex-interpolation.html#newcode75 LayoutTests/animations/interpolation/flex-interpolation.html:75: {at: 1.5, is: '1'} On 2015/02/04 20:24:37, alancutter wrote: ...
5 years, 10 months ago (2015-02-05 23:37:03 UTC) #32
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/811993002/diff/140001/LayoutTests/animations/interpolation/flex-interpolation-expected.txt File LayoutTests/animations/interpolation/flex-interpolation-expected.txt (right): https://codereview.chromium.org/811993002/diff/140001/LayoutTests/animations/interpolation/flex-interpolation-expected.txt#newcode26 LayoutTests/animations/interpolation/flex-interpolation-expected.txt:26: FAIL: flex-grow from [0] to [1] was [1] ...
5 years, 10 months ago (2015-02-06 07:26:12 UTC) #33
dstockwell
https://codereview.chromium.org/811993002/diff/140001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/811993002/diff/140001/Source/core/animation/StringKeyframe.cpp#newcode79 Source/core/animation/StringKeyframe.cpp:79: void setRange(InterpolationRange* range, InterpolationRange setTo) This is not what ...
5 years, 10 months ago (2015-02-06 10:44:48 UTC) #34
jadeg
https://codereview.chromium.org/811993002/diff/140001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/811993002/diff/140001/Source/core/animation/StringKeyframe.cpp#newcode79 Source/core/animation/StringKeyframe.cpp:79: void setRange(InterpolationRange* range, InterpolationRange setTo) On 2015/02/06 10:44:47, dstockwell ...
5 years, 10 months ago (2015-02-09 00:07:13 UTC) #36
dstockwell
lgtm! https://codereview.chromium.org/811993002/diff/180001/LayoutTests/animations/interpolation/shape-image-threshold-expected.txt File LayoutTests/animations/interpolation/shape-image-threshold-expected.txt (right): https://codereview.chromium.org/811993002/diff/180001/LayoutTests/animations/interpolation/shape-image-threshold-expected.txt#newcode26 LayoutTests/animations/interpolation/shape-image-threshold-expected.txt:26: PASS: shapeImageThreshold from [2] to [4] was [2] ...
5 years, 10 months ago (2015-02-11 04:53:28 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811993002/200001
5 years, 10 months ago (2015-02-11 05:57:32 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/122361) win_gpu_triggered_tests on tryserver.chromium.gpu (JOB_TIMED_OUT, ...
5 years, 10 months ago (2015-02-11 12:20:34 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811993002/200001
5 years, 10 months ago (2015-02-11 22:29:48 UTC) #44
commit-bot: I haz the power
5 years, 10 months ago (2015-02-11 22:32:26 UTC) #45
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190004

Powered by Google App Engine
This is Rietveld 408576698