| Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| index bab675788513148b427db5b1e943877ff39f5d70..7719e27bb33a55b81482a4db72c04eafae818ea8 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| @@ -475,8 +475,8 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId
|
| // auto | baseline | before-edge | text-before-edge | middle |
|
| // central | after-edge | text-after-edge | ideographic | alphabetic |
|
| // hanging | mathematical
|
| - return valueID == CSSValueAuto || valueID == CSSValueBaseline || valueID == CSSValueMiddle
|
| - || (valueID >= CSSValueBeforeEdge && valueID <= CSSValueMathematical);
|
| + return valueID == CSSValueAuto || valueID == CSSValueAlphabetic || valueID == CSSValueBaseline
|
| + || valueID == CSSValueMiddle || (valueID >= CSSValueBeforeEdge && valueID <= CSSValueMathematical);
|
| case CSSPropertyAll:
|
| return false; // Only accepts css-wide keywords
|
| case CSSPropertyBackgroundRepeatX: // repeat | no-repeat
|
| @@ -523,7 +523,7 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId
|
| // auto | use-script | no-change | reset-size | ideographic |
|
| // alphabetic | hanging | mathematical | central | middle |
|
| // text-after-edge | text-before-edge
|
| - return valueID == CSSValueAuto || valueID == CSSValueMiddle
|
| + return valueID == CSSValueAuto || valueID == CSSValueAlphabetic || valueID == CSSValueMiddle
|
| || (valueID >= CSSValueUseScript && valueID <= CSSValueResetSize)
|
| || (valueID >= CSSValueCentral && valueID <= CSSValueMathematical);
|
| case CSSPropertyEmptyCells: // show | hide
|
|
|