| Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
| index e603bd9e2e82b3ad93482446564316c323835c0a..cc302d204de2034a66c041f2a7c5a53d92b720db 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
|
| @@ -82,4 +82,12 @@ TEST(CSSParserFastPathsTest, ParseTransformNotFastPath)
|
| ASSERT_EQ(nullptr, value);
|
| }
|
|
|
| +TEST(CSSParserFastPathsTest, ParseInvalidTransform)
|
| +{
|
| + CSSValue* value = CSSParserFastPaths::maybeParseValue(CSSPropertyTransform, "rotateX(1deg", HTMLStandardMode);
|
| + ASSERT_EQ(nullptr, value);
|
| + value = CSSParserFastPaths::maybeParseValue(CSSPropertyTransform, "translateZ(1px) (1px, 1px) rotateX(1deg", HTMLStandardMode);
|
| + ASSERT_EQ(nullptr, value);
|
| +}
|
| +
|
| } // namespace blink
|
|
|