4 years, 10 months ago
(2015-06-23 05:05:06 UTC)
#3
Eric Willigers
As translate can be specified in units like em, rem, etc., that can change during ...
4 years, 10 months ago
(2015-06-23 06:27:53 UTC)
#4
As translate can be specified in units like em, rem, etc., that can change
during the animation, it will be good to add a
LayoutTests/web-animations-api/animations-responsive-translate.html where the
font size changes during the animation.
Consider making transform-properties-interpolation.html 3 files. This makes
tests easier for people to find later when investigating a particular property.
In animations/interpolation, We should also have an animation from 'inherit'
for each property:
e.g.
parent:
translate: 10px 10px
child: animates
from: 'inherit'
to: '20 px 0px'
means
'10px 10px' to '20 px 0px'.
(Again, the parent can change during the animation but there is no need to test
that.)
Eric Willigers
https://codereview.chromium.org/1196913005/diff/1/Source/core/animation/DoubleStyleInterpolation.cpp File Source/core/animation/DoubleStyleInterpolation.cpp (right): https://codereview.chromium.org/1196913005/diff/1/Source/core/animation/DoubleStyleInterpolation.cpp#newcode88 Source/core/animation/DoubleStyleInterpolation.cpp:88: PassOwnPtrWillBeRawPtr<InterpolableValue> DoubleStyleInterpolation::toInterpolableValue(const CSSValue& value, CSSPropertyID property) I am not ...
4 years, 10 months ago
(2015-06-23 06:50:48 UTC)
#5
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp#newcode410 Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true; Do we need this line? Same ...
4 years, 10 months ago
(2015-06-24 03:43:08 UTC)
#10
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp#newcode410 Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true; On 2015/06/24 at 03:43:08, Eric Willigers ...
4 years, 10 months ago
(2015-06-24 05:00:45 UTC)
#11
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/S...
File Source/core/animation/StringKeyframe.cpp (right):
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/S...
Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true;
On 2015/06/24 at 03:43:08, Eric Willigers wrote:
> Do we need this line? Same for Scale. I suspect we only need fall back for
'inherit' etc., and that case is already covered by "if
(fromCSSValue->isCSSWideKeyword() || toCSSValue->isCSSWideKeyword())" further
down.
ListStyleInterpolation does not handle the case where the length of
'fromCSSValue' is different from 'toCSSValue' value list.
So I could insert default values into the list when they are different length.
Checking with Alan if that's ok.
https://codereview.chromium.org/1196913005/diff/40001/Source/core/css/resolve...
File Source/core/css/resolver/AnimatedStyleBuilder.cpp (right):
https://codereview.chromium.org/1196913005/diff/40001/Source/core/css/resolve...
Source/core/css/resolver/AnimatedStyleBuilder.cpp:608: const
TransformOperations& transformList =
toAnimatableTransform(value)->transformOperations();
On 2015/06/24 at 03:43:08, Eric Willigers wrote:
> The repetition here is unfortunate. Perhaps consider introducing a new
anonymous namespace method that accepts value and an operation type, and returns
a TransformOperation* (or TransformOperation&).
Done - abstracted to a new method in anonymous namespace
alancutter (OOO until 2018)
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp#newcode410 Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true; On 2015/06/24 at 05:00:44, soonm wrote: ...
4 years, 10 months ago
(2015-06-25 01:33:10 UTC)
#12
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/StringKeyframe.cpp#newcode410 Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true; On 2015/06/25 at 01:33:09, alancutter wrote: ...
4 years, 10 months ago
(2015-06-26 02:52:34 UTC)
#13
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/S...
File Source/core/animation/StringKeyframe.cpp (right):
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/S...
Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true;
On 2015/06/25 at 01:33:09, alancutter wrote:
> On 2015/06/24 at 05:00:44, soonm wrote:
> > On 2015/06/24 at 03:43:08, Eric Willigers wrote:
> > > Do we need this line? Same for Scale. I suspect we only need fall back for
'inherit' etc., and that case is already covered by "if
(fromCSSValue->isCSSWideKeyword() || toCSSValue->isCSSWideKeyword())" further
down.
> >
> > ListStyleInterpolation does not handle the case where the length of
'fromCSSValue' is different from 'toCSSValue' value list.
> >
> > So I could insert default values into the list when they are different
length. Checking with Alan if that's ok.
>
> Add TODO for this for now just so it's clear what's not supported by this code
path. I don't think we should be making major changes to the current
Interpolation code other than migrating away from it.
Done - Add TODO about legacy mode when list are different lengths.
https://codereview.chromium.org/1196913005/diff/40001/Source/core/animation/S...
Source/core/animation/StringKeyframe.cpp:410: fallBackToLegacy = true;
On 2015/06/25 at 01:33:09, alancutter wrote:
> On 2015/06/24 at 05:00:44, soonm wrote:
> > On 2015/06/24 at 03:43:08, Eric Willigers wrote:
> > > Do we need this line? Same for Scale. I suspect we only need fall back for
'inherit' etc., and that case is already covered by "if
(fromCSSValue->isCSSWideKeyword() || toCSSValue->isCSSWideKeyword())" further
down.
> >
> > ListStyleInterpolation does not handle the case where the length of
'fromCSSValue' is different from 'toCSSValue' value list.
> >
> > So I could insert default values into the list when they are different
length. Checking with Alan if that's ok.
>
> Add TODO for this for now just so it's clear what's not supported by this code
path. I don't think we should be making major changes to the current
Interpolation code other than migrating away from it.
Done - Add TODO about legacy mode when list are different lengths.
https://codereview.chromium.org/1196913005/diff/60001/Source/platform/transfo...
File Source/platform/transforms/TransformOperation.h (right):
https://codereview.chromium.org/1196913005/diff/60001/Source/platform/transfo...
Source/platform/transforms/TransformOperation.h:84: virtual bool
isMatchingOperationType() const { return false; }
On 2015/06/25 at 01:33:10, alancutter wrote:
> This should actually be a static method on the subtypes that takes an
OperationType otherwise the cast isn't checking anything.
Yep I see why it doesn't check anything now. Done.
https://codereview.chromium.org/1196913005/diff/60001/Source/platform/transfo...
Source/platform/transforms/TransformOperation.h:88: #define
DEFINE_TRANSFORM_TYPE_CASTS(thisType, predicate) \
On 2015/06/25 at 01:33:09, alancutter wrote:
> This doesn't need to take a predicate as it will be the same for all subtypes.
Done.
alancutter (OOO until 2018)
lgtm with nits. https://codereview.chromium.org/1196913005/diff/80001/Source/core/animation/StringKeyframe.cpp File Source/core/animation/StringKeyframe.cpp (right): https://codereview.chromium.org/1196913005/diff/80001/Source/core/animation/StringKeyframe.cpp#newcode410 Source/core/animation/StringKeyframe.cpp:410: // TODO: Legacy mode is used ...
4 years, 10 months ago
(2015-06-26 02:56:16 UTC)
#14
https://codereview.chromium.org/1196913005/diff/80001/Source/platform/transforms/TransformOperation.h File Source/platform/transforms/TransformOperation.h (right): https://codereview.chromium.org/1196913005/diff/80001/Source/platform/transforms/TransformOperation.h#newcode84 Source/platform/transforms/TransformOperation.h:84: On 2015/06/26 at 02:56:15, alancutter wrote: > No need ...
4 years, 10 months ago
(2015-06-26 03:02:12 UTC)
#15
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/36541)
4 years, 10 months ago
(2015-06-29 01:38:06 UTC)
#25
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/68843)
4 years, 10 months ago
(2015-06-29 02:29:34 UTC)
#31
The patchset sent to the CQ was uploaded after l-g-t-m from alancutter@chromium.org, timloh@chromium.org, ericwilligers@chromium.org, noel@chromium.org ...
4 years, 10 months ago
(2015-06-29 03:58:52 UTC)
#34
Issue 1196913005: Implement animations for Independent CSS Transform Properties
(Closed)
Created 4 years, 10 months ago by soonm
Modified 4 years, 10 months ago
Reviewers: alancutter (OOO until 2018), dstockwell, Eric Willigers, Noel Gordon, shans, Timothy Loh
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 42