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

Issue 1243313002: Migrate the remaining CSS properties interpolable as Lengths to LengthInterpolationType (Closed)

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

Description

Migrate the remaining CSS properties interpolable as Lengths to LengthInterpolationType This patch is part of a refactor away from using StyleInterpolation subclasses to using per property InterpolationType singletons. This migrates uses of LengthStyleInterpolation over to LengthInterpolationType for all length properties except line-height and font-size. BUG=437696 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202418

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Remove font-size #

Patch Set 4 : Rebased #

Total comments: 17

Patch Set 5 : Review comments #

Patch Set 6 : Updated comment #

Patch Set 7 : Rebased #

Patch Set 8 : Add composition tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2362 lines, -788 lines) Patch
A + LayoutTests/animations/composition/baseline-shift-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/border-bottom-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/border-left-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/border-right-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/border-top-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/bottom-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/cx-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/cy-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/flex-basis-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/height-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
M LayoutTests/animations/composition/left-composition.html View 1 2 3 4 5 6 7 3 chunks +33 lines, -18 lines 0 comments Download
A + LayoutTests/animations/composition/letter-spacing-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/margin-bottom-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/margin-left-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/margin-right-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/margin-top-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/max-height-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/max-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/min-height-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/min-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/motion-offset-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/outline-offset-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/animations/composition/outline-width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/padding-bottom-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/padding-left-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/padding-right-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/padding-top-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/perspective-composition.html View 1 2 3 4 5 6 7 3 chunks +23 lines, -21 lines 0 comments Download
A + LayoutTests/animations/composition/r-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/right-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/rx-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/ry-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/shape-margin-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/stroke-dashoffset-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/stroke-width-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/top-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/vertical-align-composition.html View 1 2 3 4 5 6 7 3 chunks +28 lines, -26 lines 0 comments Download
A LayoutTests/animations/composition/width-composition.html View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A + LayoutTests/animations/composition/word-spacing-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/x-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
A + LayoutTests/animations/composition/y-composition.html View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
M LayoutTests/animations/interpolation/height-interpolation.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/interpolation/width-interpolation.html View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/animation/LengthInterpolationType.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/animation/LengthInterpolationType.cpp View 1 2 3 4 5 6 6 chunks +11 lines, -7 lines 0 comments Download
M Source/core/animation/LengthPropertyFunctions.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/animation/LengthPropertyFunctions.cpp View 1 2 3 4 5 1 chunk +409 lines, -9 lines 0 comments Download
M Source/core/animation/LengthStyleInterpolation.h View 1 2 3 4 5 6 2 chunks +1 line, -9 lines 0 comments Download
M Source/core/animation/LengthStyleInterpolation.cpp View 1 2 3 4 5 6 6 chunks +18 lines, -168 lines 0 comments Download
M Source/core/animation/StringKeyframe.cpp View 1 2 3 4 5 6 3 chunks +54 lines, -56 lines 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (6 generated)
alancutter (OOO until 2018)
This patch requires extensive additional testing for neutral, initial, inherit and unset code paths. I ...
5 years, 5 months ago (2015-07-22 05:07:57 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/1243313002/1
5 years, 5 months ago (2015-07-22 05:08:28 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-22 06:53:58 UTC) #6
alancutter (OOO until 2018)
This patch is ready for code review, tests are the only thing still to be ...
5 years, 5 months ago (2015-07-27 01:23:47 UTC) #7
dstockwell
https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp File Source/core/animation/LengthPropertyFunctions.cpp (right): https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp#newcode55 Source/core/animation/LengthPropertyFunctions.cpp:55: bool LengthPropertyFunctions::getPixelsForKeyword(CSSPropertyID property, CSSValueID valueID, double& result) Do we ...
5 years, 3 months ago (2015-08-31 05:33:40 UTC) #8
alancutter (OOO until 2018)
https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp File Source/core/animation/LengthPropertyFunctions.cpp (right): https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp#newcode55 Source/core/animation/LengthPropertyFunctions.cpp:55: bool LengthPropertyFunctions::getPixelsForKeyword(CSSPropertyID property, CSSValueID valueID, double& result) On 2015/08/31 ...
5 years, 3 months ago (2015-08-31 07:15:30 UTC) #9
alancutter (OOO until 2018)
https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp File Source/core/animation/LengthPropertyFunctions.cpp (right): https://codereview.chromium.org/1243313002/diff/60001/Source/core/animation/LengthPropertyFunctions.cpp#newcode109 Source/core/animation/LengthPropertyFunctions.cpp:109: case CSSPropertyBorderBottomWidth: On 2015/08/31 at 07:15:30, alancutter wrote: > ...
5 years, 3 months ago (2015-08-31 07:20:51 UTC) #10
dstockwell
lgtm
5 years, 3 months ago (2015-09-14 00:37:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243313002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243313002/140001
5 years, 3 months ago (2015-09-14 06:02:22 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 07:18:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243313002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243313002/140001
5 years, 3 months ago (2015-09-17 01:35:33 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 02:55:40 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=202418

Powered by Google App Engine
This is Rietveld 408576698