|
Implement support for unprefixed keyframes rules resolution.
This commit implements the support for parsing and resolving unprefixed
@keyframes. The behavior is as followed :
- For a given animation name if only a @-webkit-keyframe or @keyframe
is defined then we resolve it.
- For a given animation name if both @-webkit-keyframes and @keyframes
are defined, the unprefixed version is always taken.
- As before if you define multiple time a @keyframes for the same animation
name (prefixed or not) the last declaration is resolved (as before).
This commit doesn't implement yet the CSSOM part of the @keyframes, it
will be done in a separate patch.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156490
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+74 lines, -57 lines) |
Patch |
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-01.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-01-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-02.html
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-02-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-03.html
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/duplicated-keyframes-name-unprefixed-03-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-01.html
|
View
|
|
2 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-01-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-02.html
|
View
|
|
2 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-02-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-03.html
|
View
|
|
2 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/animations/keyframes-unprefixed-03-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSGrammar.y.in
|
View
|
1
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframesRule.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframesRule.cpp
|
View
|
1
2
3
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParser-in.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/ScopedStyleResolver.cpp
|
View
|
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|