| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp
|
| index 5c636e95a18962ed8ba890f946ecb8198ac5f329..6bf56faba63ae82a639950422af115caeeeb979a 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp
|
| @@ -20,6 +20,14 @@ static int computeNumberOfTracks(const CSSValueList* valueList) {
|
| return numberOfTracks;
|
| }
|
|
|
| +TEST(CSSPropertyParserTest, CSSPaint_Functions) {
|
| + const CSSValue* value = CSSParser::parseSingleValue(
|
| + CSSPropertyBackgroundImage, "paint(foo, func1(1px, 3px), red)");
|
| + ASSERT_TRUE(value);
|
| + ASSERT_TRUE(value->isImageGeneratorValue());
|
| + EXPECT_EQ(value->cssText(), "paint(foo, func1(1px, 3px), red)");
|
| +}
|
| +
|
| TEST(CSSPropertyParserTest, CSSPaint_NoArguments) {
|
| const CSSValue* value =
|
| CSSParser::parseSingleValue(CSSPropertyBackgroundImage, "paint(foo)");
|
|
|