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 0604e13f11b57db5b0eb96d91b88b09e94a8d925..8dd4fa58eebc8ccd8e1e4b736f995c08f5e03b34 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
@@ -804,6 +804,9 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue( |
case CSSPropertyWebkitTextSecurity: |
return valueID == CSSValueDisc || valueID == CSSValueCircle || |
valueID == CSSValueSquare || valueID == CSSValueNone; |
+ case CSSPropertyTransformBox: |
+ return valueID == CSSValueBorderBox || valueID == CSSValueFillBox || |
+ valueID == CSSValueViewBox; |
case CSSPropertyTransformStyle: |
return valueID == CSSValueFlat || valueID == CSSValuePreserve3d; |
case CSSPropertyWebkitUserDrag: |
@@ -936,6 +939,7 @@ bool CSSParserFastPaths::isKeywordPropertyID(CSSPropertyID propertyId) { |
case CSSPropertyWebkitTextCombine: |
case CSSPropertyWebkitTextEmphasisPosition: |
case CSSPropertyWebkitTextSecurity: |
+ case CSSPropertyTransformBox: |
case CSSPropertyTransformStyle: |
case CSSPropertyWebkitUserDrag: |
case CSSPropertyWebkitUserModify: |