| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index df4abc98b9f2782a2f1252b9b25b2446cdbc03db..fb9e8af1414be050577845d4afde43c650ad1b25 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -8194,6 +8194,10 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important)
|
| if (id == CSSValueLuminance || id == CSSValueAlpha)
|
| validPrimitive = true;
|
| break;
|
| + case CSSPropertyX:
|
| + case CSSPropertyY:
|
| + validPrimitive = (!id && validUnit(value, FLength | FPercent, SVGAttributeMode));
|
| + break;
|
|
|
| /* shorthand properties */
|
| case CSSPropertyMarker: {
|
|
|