|
CSS Transforms: Implement transform
Implements transform as defined in CSS Transforms[1]. Behavior is similar
to -webkit-transform, but the perspective() function is not allowed to
contain numbers without units. Like -webkit-transform and other user
agents, the resolved value of transform is not the computed value as
currently defined by css-transitions[2].
The animation system is modified to avoid running animations and
transitions on both the prefixed and unprefixed variants at the same
time. Internally, animations are mapped to the unprefixed variant.
As animations operate directly on the RenderStyle storage the result
of specifying an animation/transition on either property is the same.
Note, this property is guarded by the CSSTransformsUnprefixed runtime
feature (enabled only for testing).
[1] http://www.w3.org/TR/css3-transforms/
[2] http://lists.w3.org/Archives/Public/www-style/2013Dec/0317.html
BUG= 154772
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170527
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1029 lines, -657 lines) |
Patch |
 |
M |
LayoutTests/animations/interpolation/transform-interpolation.html
|
View
|
|
48 chunks |
+48 lines, -48 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/animations/interpolation/transform-interpolation-expected.txt
|
View
|
|
1 chunk |
+576 lines, -576 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/interpolation/webkit-transform-interpolation.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/interpolation/webkit-transform-interpolation-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/transforms/transform-parsing.html
|
View
|
|
1 chunk |
+192 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/transforms/transform-parsing-expected.txt
|
View
|
|
1 chunk |
+148 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/transitions/unprefixed-transform.html
|
View
|
3
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/transitions/unprefixed-transform-expected.txt
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/ActiveAnimations.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/CompositorAnimations.cpp
|
View
|
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/CompositorAnimationsTest.cpp
|
View
|
3
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSAnimations.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/css/CSSPropertyEquality.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
3
|
4 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSMatrix.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser-in.cpp
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleAdjuster.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/animation/KeyframeValueList.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 34 (0 generated)
|