Index: third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp |
diff --git a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp |
index 4c79bcb8fad539034f51a033e088159a5f897b27..86dec28036221668af35ab3ea0c55660e07423f0 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp |
+++ b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp |
@@ -32,14 +32,14 @@ static String removeSVGPrefix(const String& property) |
CSSPropertyID AnimationInputHelpers::keyframeAttributeToCSSProperty(const String& property, const Document& document) |
{ |
// Disallow prefixed properties. |
- if (property[0] == '-' || isASCIIUpper(property[0])) |
+ if (isASCIIUpper(property[0])) |
return CSSPropertyInvalid; |
if (property == "cssFloat") |
return CSSPropertyFloat; |
StringBuilder builder; |
for (size_t i = 0; i < property.length(); ++i) { |
if (property[i] == '-') |
- Deprecation::countDeprecation(document, UseCounter::WebAnimationHyphenatedProperty); |
+ return CSSPropertyInvalid; |
if (isASCIIUpper(property[i])) |
builder.append('-'); |
builder.append(property[i]); |