| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 66a88e4c7428102be17e75af4b105f5e57f2beed..2594daccefe56a24cb7765f5b93bc034b62155e4 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -8196,6 +8196,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: {
|
|
|