| Index: Source/core/css/parser/CSSParserImpl.cpp
|
| diff --git a/Source/core/css/parser/CSSParserImpl.cpp b/Source/core/css/parser/CSSParserImpl.cpp
|
| index 52b248d3fbc281ea58bc967f8aea583f1886de3e..96da29cb822c1b727f5b324e4ae282f6e0b6a15e 100644
|
| --- a/Source/core/css/parser/CSSParserImpl.cpp
|
| +++ b/Source/core/css/parser/CSSParserImpl.cpp
|
| @@ -465,16 +465,6 @@ PassRefPtrWillBeRawPtr<StyleRuleFontFace> CSSParserImpl::consumeFontFaceRule(CSS
|
|
|
| consumeDeclarationList(block, StyleRule::FontFace);
|
|
|
| - // FIXME: This logic should be in CSSPropertyParser
|
| - // 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() == CSSPropertyFontFamily && (!property.value()->isValueList() || toCSSValueList(property.value())->length() != 1)) {
|
| - m_parsedProperties.clear();
|
| - return nullptr;
|
| - }
|
| - }
|
| -
|
| RefPtrWillBeRawPtr<StyleRuleFontFace> rule = StyleRuleFontFace::create();
|
| rule->setProperties(createStylePropertySet(m_parsedProperties, m_context.mode()));
|
| m_parsedProperties.clear();
|
|
|