Index: Source/core/css/parser/BisonCSSParser-in.cpp |
diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp |
index 4b8b5af403d9a27a8a63c16daa39c96c44e52fed..a8d1d666440dcd57a5faf4e17f3ad3dc193b1808 100644 |
--- a/Source/core/css/parser/BisonCSSParser-in.cpp |
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp |
@@ -728,9 +728,7 @@ StyleRuleBase* BisonCSSParser::createFontFaceRule() |
m_allowImportRules = m_allowNamespaceDeclarations = false; |
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)) { |
// Unlike font-family property, font-family descriptor in @font-face rule |
// has to be a value list with exactly one family name. It cannot have a |
// have 'initial' value and cannot 'inherit' from parent. |