| Index: third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp b/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
|
| index 7c8f3c64a124c1d1e9c5d725abdbf2ef97d07eaa..93bdef48fca8dce7dabbd085536e428a612a3a8e 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
|
| @@ -92,4 +92,14 @@ TEST(ComputedStyleTest, LastPublicPseudoStyle) {
|
| EXPECT_TRUE(style->hasAnyPublicPseudoStyles());
|
| }
|
|
|
| +TEST(ComputedStyleTest,
|
| + UpdatePropertySpecificDifferencesRespectsTransformAnimation) {
|
| + RefPtr<ComputedStyle> style = ComputedStyle::create();
|
| + RefPtr<ComputedStyle> other = ComputedStyle::clone(*style);
|
| + other->setHasCurrentTransformAnimation();
|
| + StyleDifference diff;
|
| + style->updatePropertySpecificDifferences(*other, diff);
|
| + EXPECT_TRUE(diff.transformChanged());
|
| +}
|
| +
|
| } // namespace blink
|
|
|