|
Implemented additive animations for length
Interpolations now store start and end composite operations and an
underlying fraction. To support addition, StyleInterpolation subclasses
should implement a constructor that sets the composite modes, and
override the new apply method which takes an InterpolableValue to
convert and apply as an argument.
AnimationStack::copyToActiveInterpolationMap now assembles an
InterpolationPipeline for each CSS property, which is a linked list of
InterpolationPipelineStages, each containing an Interpolation.
In StyleResolver::applyAnimatedProperties, each stage of the additive
pipeline is evaluated, their results added together, and the result
applied to the LayoutStyle.
BUG= 437696
Total comments: 8
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+759 lines, -487 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/virtual/stable/web-animations-api/add-keyframes-unsupported.html
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/web-animations-api/animations-additive-length.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+249 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/web-animations-api/animations-additive-length-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+175 lines, -0 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/web-animations-api/w3c/add-keyframes.html
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/AnimationStack.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/AnimationStack.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+18 lines, -6 lines |
1 comment
|
Download
|
 |
M |
Source/core/animation/AnimationStackTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/ConstantStyleInterpolation.h
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/EffectInput.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/InterpolableValue.h
|
View
|
1
|
5 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/InterpolableValue.cpp
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/Interpolation.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+22 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/core/animation/Interpolation.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/core/animation/InterpolationFactory.h
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
Source/core/animation/InterpolationFactory.cpp
|
View
|
1
2
3
4
5
6
|
9 chunks |
+61 lines, -100 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/KeyframeEffectModel.cpp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/LengthStyleInterpolation.h
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/LengthStyleInterpolation.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/StringKeyframe.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/StringKeyframe.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -298 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/StyleInterpolation.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSAnimationUpdate.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSAnimations.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSAnimations.cpp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+61 lines, -5 lines |
3 comments
|
Download
|
Total messages: 7 (1 generated)
|