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 267de532af62206e4160625e1694c8a17423c30b..01b5c86aff669f4b3c1422d6775b3bd79ca9867b 100644 |
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
@@ -467,26 +467,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
} |
break; |
- case CSSPropertyBorderSpacing: { |
- ShorthandScope scope(this, CSSPropertyBorderSpacing); |
- if (!parseValue(CSSPropertyWebkitBorderHorizontalSpacing, important)) |
- return false; |
- if (!m_valueList->current()) { |
- CSSValue* value = m_parsedProperties.last().value(); |
- addProperty(CSSPropertyWebkitBorderVerticalSpacing, value, important); |
- return true; |
- } |
- if (!parseValue(CSSPropertyWebkitBorderVerticalSpacing, important)) |
- return false; |
- return !m_valueList->current(); |
- } |
- case CSSPropertyWebkitBorderHorizontalSpacing: |
- case CSSPropertyWebkitBorderVerticalSpacing: |
- unitless = FLength | FNonNeg; |
- if (inShorthand() && m_currentShorthand == CSSPropertyBorderSpacing) |
- unitless = unitless | FUnitlessQuirk; |
- validPrimitive = validUnit(value, unitless); |
- break; |
case CSSPropertyOutlineColor: // <color> | invert | inherit |
// Outline color has "invert" as additional keyword. |
// Also, we want to allow the special focus color even in HTML Standard parsing mode. |
@@ -1383,6 +1363,9 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
case CSSPropertyLineHeight: |
case CSSPropertyRotate: |
case CSSPropertyFont: |
+ case CSSPropertyWebkitBorderHorizontalSpacing: |
+ case CSSPropertyWebkitBorderVerticalSpacing: |
+ case CSSPropertyBorderSpacing: |
validPrimitive = false; |
break; |