| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 0329919790cbd0f683b2aa50737901cd1235bf96..02e08bccad29329181b1725652d0b9ec9639d999 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -8145,6 +8145,8 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important)
|
| parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitType) value->unit);
|
| else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ)
|
| parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType) value->unit);
|
| + else if (value->unit == CSSPrimitiveValue::CSS_REMS)
|
| + parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType)value->unit);
|
| else if (value->unit >= CSSParserValue::Q_EMS)
|
| parsedValue = CSSPrimitiveValue::createAllowingMarginQuirk(value->fValue, CSSPrimitiveValue::CSS_EMS);
|
| if (isCalculation(value)) {
|
| @@ -8175,6 +8177,8 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseSVGStrokeDasharray()
|
| ret->append(CSSPrimitiveValue::createIdentifier(value->id));
|
| else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ)
|
| ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType) value->unit));
|
| + else if (value->unit == CSSPrimitiveValue::CSS_REMS)
|
| + ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType)value->unit));
|
| value = m_valueList->next();
|
| bool commaConsumed = consumeComma(m_valueList);
|
| value = m_valueList->current();
|
|
|