Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
index 1fc1c3fe89cd7b5152894cfdcde3bc4b866222b1..e40e50f16a05fb6c0b8e9a2fa5da2244bf5dc3c5 100644 |
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
@@ -432,11 +432,9 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
case CSSPropertyWebkitBorderEndColor: |
case CSSPropertyWebkitBorderBeforeColor: |
case CSSPropertyWebkitBorderAfterColor: |
- case CSSPropertyColor: // <color> | inherit |
case CSSPropertyTextDecorationColor: // CSS3 text decoration colors |
case CSSPropertyWebkitColumnRuleColor: |
case CSSPropertyWebkitTextEmphasisColor: |
- case CSSPropertyWebkitTextFillColor: |
case CSSPropertyWebkitTextStrokeColor: |
ASSERT(propId != CSSPropertyTextDecorationColor || RuntimeEnabledFeatures::css3TextDecorationsEnabled()); |
parsedValue = parseColor(m_valueList->current(), acceptQuirkyColors(propId)); |
@@ -1039,12 +1037,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
validPrimitive = true; |
break; |
- case CSSPropertyWebkitTapHighlightColor: |
- parsedValue = parseColor(m_valueList->current()); |
- if (parsedValue) |
- m_valueList->next(); |
- break; |
- |
/* shorthand properties */ |
case CSSPropertyBackground: { |
// Position must come before color in this array because a plain old "0" is a legal color |
@@ -1247,6 +1239,9 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
case CSSPropertyTransitionProperty: |
case CSSPropertyOrphans: |
case CSSPropertyWidows: |
+ case CSSPropertyWebkitTapHighlightColor: |
+ case CSSPropertyWebkitTextFillColor: |
+ case CSSPropertyColor: |
validPrimitive = false; |
break; |