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

Issue 2280553002: Allow interpolation of background-size values with keywords in CSS Animations (Closed)

Created:
4 years, 3 months ago by alancutter (OOO until 2018)
Modified:
4 years, 3 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans, suzyh_UTC10 (ex-contributor)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow interpolation of background-size values with keywords in CSS Animations This change allows for positionally matched keywords in background-size CSS Animations. This brings it in line with CSS Transitions behaviour. Previously CSSSizeListInterpolationType inherited from CSSLengthListInterpolationType, due to the handling of keywords this is no longer suitable. BUG=640450 Committed: https://crrev.com/07b28f4faed3dba2c80a864a61e8af46bdf5d50a Cr-Commit-Position: refs/heads/master@{#417134}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Review changes #

Patch Set 3 : words #

Patch Set 4 : Semicolon #

Total comments: 6

Patch Set 5 : Review comments #

Patch Set 6 : Remove DCHECK #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+540 lines, -490 lines) Patch
M third_party/WebKit/LayoutTests/animations/composition/background-size-composition.html View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html View 5 chunks +29 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation-expected.txt View 1 chunk +0 lines, -193 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/webkit-background-size-interpolation-expected.txt View 1 chunk +0 lines, -74 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/webkit-mask-size-interpolation-expected.txt View 1 chunk +0 lines, -130 lines 0 comments Download
M third_party/WebKit/Source/core/animation/BUILD.gn View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.h View 1 1 chunk +13 lines, -27 lines 0 comments Download
A third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp View 1 2 3 1 chunk +164 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp View 8 chunks +0 lines, -54 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.h View 1 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp View 1 5 1 chunk +186 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.cpp View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/FillLayer.h View 1 chunk +1 line, -1 line 1 comment Download

Depends on Patchset:

Messages

Total messages: 40 (24 generated)
alancutter (OOO until 2018)
https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html File third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html (left): https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html#oldcode67 third_party/WebKit/LayoutTests/animations/interpolation/background-size-interpolation.html:67: // TODO(alancutter): Fix transitions: https://crbug.com/513127 These are stale TODOs, ...
4 years, 3 months ago (2016-08-25 06:08:16 UTC) #2
suzyh_UTC10 (ex-contributor)
My main concern with this patch is how difficult it is to read CSSSizeListInterpolationType.cpp (although ...
4 years, 3 months ago (2016-08-26 04:14:34 UTC) #4
alancutter (OOO until 2018)
https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp (right): https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp#newcode12 third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp:12: #include "core/css/resolver/StyleResolverState.h" On 2016/08/26 at 04:14:34, suzyh wrote: > ...
4 years, 3 months ago (2016-08-26 13:31:48 UTC) #6
suzyh_UTC10 (ex-contributor)
I'm more or less happy with this, but I'll give it another pass with fresh ...
4 years, 3 months ago (2016-08-30 08:01:07 UTC) #15
Eric Willigers
https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp File third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp (right): https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp#newcode45 third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp:45: { } DCHECK(m_lengthNonInterpolableValue); https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.cpp File third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.cpp (right): https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.cpp#newcode45 third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.cpp:45: ...
4 years, 3 months ago (2016-08-31 01:47:06 UTC) #16
alancutter (OOO until 2018)
https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp (right): https://codereview.chromium.org/2280553002/diff/1/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp#newcode37 third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp:37: CSSSizeNonInterpolableValue(CSSValueID keyword) On 2016/08/30 at 08:01:07, suzyh wrote: > ...
4 years, 3 months ago (2016-09-05 07:44:27 UTC) #17
alancutter (OOO until 2018)
https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp File third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp (right): https://codereview.chromium.org/2280553002/diff/60001/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp#newcode45 third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp:45: { } On 2016/09/05 at 07:44:27, alancutter wrote: > ...
4 years, 3 months ago (2016-09-06 02:27:31 UTC) #22
suzyh_UTC10 (ex-contributor)
I share your frustration at how much code this required, but have no further useful ...
4 years, 3 months ago (2016-09-06 03:23:08 UTC) #25
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/2280553002/100001
4 years, 3 months ago (2016-09-07 08:01:45 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/254254)
4 years, 3 months ago (2016-09-07 08:08:15 UTC) #31
alancutter (OOO until 2018)
+timloh for change to core/style/FillLayer.h
4 years, 3 months ago (2016-09-07 08:29:19 UTC) #33
alancutter (OOO until 2018)
https://codereview.chromium.org/2280553002/diff/100001/third_party/WebKit/Source/core/style/FillLayer.h File third_party/WebKit/Source/core/style/FillLayer.h (right): https://codereview.chromium.org/2280553002/diff/100001/third_party/WebKit/Source/core/style/FillLayer.h#newcode40 third_party/WebKit/Source/core/style/FillLayer.h:40: DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); As discussed on previous patchsets this is due ...
4 years, 3 months ago (2016-09-07 08:30:23 UTC) #34
Timothy Loh
On 2016/09/07 08:30:23, alancutter wrote: > https://codereview.chromium.org/2280553002/diff/100001/third_party/WebKit/Source/core/style/FillLayer.h > File third_party/WebKit/Source/core/style/FillLayer.h (right): > > https://codereview.chromium.org/2280553002/diff/100001/third_party/WebKit/Source/core/style/FillLayer.h#newcode40 > ...
4 years, 3 months ago (2016-09-07 09:53:51 UTC) #35
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/2280553002/100001
4 years, 3 months ago (2016-09-08 00:37:17 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-08 00:42:12 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 00:45:53 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/07b28f4faed3dba2c80a864a61e8af46bdf5d50a
Cr-Commit-Position: refs/heads/master@{#417134}

Powered by Google App Engine
This is Rietveld 408576698