Index: Source/core/css/CSSParser.cpp |
diff --git a/Source/core/css/CSSParser.cpp b/Source/core/css/CSSParser.cpp |
index 41e66419686a40fac88df223e12fa5ca585d9418..40dbf9dcce946902461aa40c08ff551cf29be82f 100644 |
--- a/Source/core/css/CSSParser.cpp |
+++ b/Source/core/css/CSSParser.cpp |
@@ -867,6 +867,11 @@ static inline bool isValidKeywordPropertyAndValue(CSSPropertyID propertyId, int |
if ((valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueID == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto) |
return true; |
break; |
+ case CSSPropertyWebkitTextJustify: |
+ // auto | none | inter-word | distribute |
+ if (valueID == CSSValueInterWord || valueID == CSSValueDistribute || valueID == CSSValueAuto || valueID == CSSValueNone) |
+ return true; |
+ break; |
#endif // CSS3_TEXT |
case CSSPropertyWebkitTextCombine: |
if (valueID == CSSValueNone || valueID == CSSValueHorizontal) |
@@ -1018,6 +1023,7 @@ static inline bool isKeywordPropertyID(CSSPropertyID propertyId) |
case CSSPropertyWebkitRubyPosition: |
#if ENABLE(CSS3_TEXT) |
case CSSPropertyWebkitTextAlignLast: |
+ case CSSPropertyWebkitTextJustify: |
#endif // CSS3_TEXT |
case CSSPropertyWebkitTextCombine: |
case CSSPropertyWebkitTextEmphasisPosition: |
@@ -2829,6 +2835,7 @@ bool CSSParser::parseValue(CSSPropertyID propId, bool important) |
case CSSPropertyWebkitRubyPosition: |
#if ENABLE(CSS3_TEXT) |
case CSSPropertyWebkitTextAlignLast: |
+ case CSSPropertyWebkitTextJustify: |
#endif // CSS3_TEXT |
case CSSPropertyWebkitTextCombine: |
case CSSPropertyWebkitTextEmphasisPosition: |