| Index: sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/sky/engine/core/css/parser/CSSPropertyParser.cpp b/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| index cca26d1003b730337e3de5891c1dbbef2db7b9cc..7f44a7e0d14977b63c6a904e9f08d503a36d130e 100644
|
| --- a/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| @@ -521,9 +521,9 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
|
| }
|
|
|
| case CSSPropertyTextAlign:
|
| - // left | right | center | justify | -webkit-left | -webkit-right | -webkit-center | -webkit-match-parent
|
| - // | start | end | <string> | inherit | -webkit-auto (converted to start)
|
| - if ((id >= CSSValueWebkitAuto && id <= CSSValueWebkitMatchParent) || id == CSSValueStart || id == CSSValueEnd
|
| + // left | right | center | justify | -webkit-match-parent
|
| + // | start | end | <string> | inherit
|
| + if ((id >= CSSValueLeft && id <= CSSValueWebkitMatchParent) || id == CSSValueStart || id == CSSValueEnd
|
| || value->unit == CSSPrimitiveValue::CSS_STRING)
|
| validPrimitive = true;
|
| break;
|
|
|