| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 539ad6ed8b536633969c16a67cce948d565f22a6..2d4d66f732bca1606297a8ef2d73b7f557006e61 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -8197,6 +8197,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: {
|
|
|