Index: Source/core/css/parser/CSSParserImpl.cpp |
diff --git a/Source/core/css/parser/CSSParserImpl.cpp b/Source/core/css/parser/CSSParserImpl.cpp |
index 37655ad04625ce6a86b124bb10ed53d8a12b9339..3f7355968ceb353c0f4ed9af044456c1a7ec4fea 100644 |
--- a/Source/core/css/parser/CSSParserImpl.cpp |
+++ b/Source/core/css/parser/CSSParserImpl.cpp |
@@ -471,9 +471,7 @@ PassRefPtrWillBeRawPtr<StyleRuleFontFace> CSSParserImpl::consumeFontFaceRule(CSS |
// FIXME: Shouldn't we fail if font-family or src aren't specified? |
for (unsigned i = 0; i < m_parsedProperties.size(); ++i) { |
CSSProperty& property = m_parsedProperties[i]; |
- if (property.id() == CSSPropertyFontVariant && property.value()->isPrimitiveValue()) { |
- property.wrapValueInCommaSeparatedList(); |
- } else if (property.id() == CSSPropertyFontFamily && (!property.value()->isValueList() || toCSSValueList(property.value())->length() != 1)) { |
+ if (property.id() == CSSPropertyFontFamily && (!property.value()->isValueList() || toCSSValueList(property.value())->length() != 1)) { |
m_parsedProperties.clear(); |
return nullptr; |
} |