| 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 104d7188378d44a3a431d2982cfe8c09bc5db38c..fa9ba0ed44dffa0307469bd39f138f8754dbe714 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| @@ -467,6 +467,18 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId
|
| return false;
|
|
|
| switch (propertyId) {
|
| + case CSSPropertyOnclickType:
|
| + case CSSPropertyOnscrollType:
|
| + case CSSPropertyOntouchstartType:
|
| + case CSSPropertyOntouchendType:
|
| + case CSSPropertyOntouchmoveType:
|
| + return valueID == CSSValueSingle || valueID == CSSValueContinuous;
|
| + case CSSPropertyOnclickVduration:
|
| + case CSSPropertyOnscrollVduration:
|
| + case CSSPropertyOntouchstartVduration:
|
| + case CSSPropertyOntouchendVduration:
|
| + case CSSPropertyOntouchmoveVduration:
|
| + return valueID == CSSValueShort || valueID == CSSValueLong;
|
| case CSSPropertyAlignmentBaseline:
|
| // auto | baseline | before-edge | text-before-edge | middle |
|
| // central | after-edge | text-after-edge | ideographic | alphabetic |
|
| @@ -710,6 +722,16 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId
|
| bool CSSParserFastPaths::isKeywordPropertyID(CSSPropertyID propertyId)
|
| {
|
| switch (propertyId) {
|
| + case CSSPropertyOnclickType:
|
| + case CSSPropertyOnclickVduration:
|
| + case CSSPropertyOnscrollType:
|
| + case CSSPropertyOnscrollVduration:
|
| + case CSSPropertyOntouchstartType:
|
| + case CSSPropertyOntouchstartVduration:
|
| + case CSSPropertyOntouchendType:
|
| + case CSSPropertyOntouchendVduration:
|
| + case CSSPropertyOntouchmoveType:
|
| + case CSSPropertyOntouchmoveVduration:
|
| case CSSPropertyAlignmentBaseline:
|
| case CSSPropertyAll:
|
| case CSSPropertyMixBlendMode:
|
|
|