Index: Source/core/css/parser/CSSParserFastPaths.cpp |
diff --git a/Source/core/css/parser/CSSParserFastPaths.cpp b/Source/core/css/parser/CSSParserFastPaths.cpp |
index 44f65e54243eb5fa1093beb0f391559102b093a5..7b3a6e3de189764a1b400c71d08b924483b8851f 100644 |
--- a/Source/core/css/parser/CSSParserFastPaths.cpp |
+++ b/Source/core/css/parser/CSSParserFastPaths.cpp |
@@ -51,6 +51,8 @@ static inline bool isSimpleLengthPropertyID(CSSPropertyID propertyId, bool& acce |
case CSSPropertyWebkitMarginBefore: |
case CSSPropertyWebkitMarginEnd: |
case CSSPropertyWebkitMarginStart: |
+ case CSSPropertyX: |
+ case CSSPropertyY: |
acceptsNegativeNumbers = true; |
return true; |
default: |