Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp

Issue 2652273004: Paint invisible layer content in presence of composited animations. (Closed)
Patch Set: Add tests and sync to head. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
index 24ea040e02bc959476adc07ec161cb6e765bfa8a..9014db1f63ec2fe71b16446ee816311b6f130295 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
@@ -3118,6 +3118,7 @@ TEST_P(PaintPropertyTreeBuilderTest,
EXPECT_TRUE(properties->transform());
EXPECT_NE(CompositorElementId(),
properties->transform()->compositorElementId());
+ EXPECT_TRUE(properties->transform()->requiresCompositingForAnimation());
}
TEST_P(PaintPropertyTreeBuilderTest, EffectNodeAnimatedHasCompositorElementId) {
@@ -3125,6 +3126,7 @@ TEST_P(PaintPropertyTreeBuilderTest, EffectNodeAnimatedHasCompositorElementId) {
const ObjectPaintProperties* properties = paintPropertiesForElement("target");
EXPECT_TRUE(properties->effect());
EXPECT_NE(CompositorElementId(), properties->effect()->compositorElementId());
+ EXPECT_TRUE(properties->effect()->requiresCompositingForAnimation());
}
TEST_P(PaintPropertyTreeBuilderTest, FloatUnderInline) {

Powered by Google App Engine
This is Rietveld 408576698