|
|
Emit console warning when element.animate() keyframe value fails to parse
This change adds a return value to the CSS parser to state whether a
CSS value was parsed successfully for a given property.
This information is used to allow calls to element.animate() to warn the
developer when provided keyframe values are invalid.
BUG= 618157
Committed: https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83
Cr-Commit-Position: refs/heads/master@{#434490}
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+225 lines, -127 lines) |
Patch |
 |
A |
third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning.html
|
View
|
1
2
3
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning-expected.txt
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/animations/option-element-crash-expected.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/inline/inline-marquee-crash-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animatable/animate-expected.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/constructor-expected.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/EffectInput.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/EffectInput.cpp
|
View
|
|
7 chunks |
+31 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/StringKeyframe.h
|
View
|
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
View
|
|
1 chunk |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/DOMWindowCSS.cpp
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
View
|
|
1 chunk |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/StylePropertySet.h
|
View
|
|
1 chunk |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
View
|
|
3 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParser.h
|
View
|
|
4 chunks |
+22 lines, -19 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParser.cpp
|
View
|
1
2
3
|
5 chunks |
+29 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
View
|
|
3 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
View
|
|
3 chunks |
+27 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/Element.cpp
|
View
|
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
Total messages: 18 (9 generated)
|