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

Unified Diff: third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html

Issue 2702483002: Paint some content for animated elements in composited animation tests. (Closed)
Patch Set: Created 3 years, 10 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/LayoutTests/animations/zoom-responsive-transform-animation.html
diff --git a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html b/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html
index dda23df93babc63fd7dd308d91cd5481db189f07..7a470365c2d195928ebe5987d94edcf614d8c410 100644
--- a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html
+++ b/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html
@@ -38,6 +38,8 @@
container.appendChild(text);
var target = document.createElement('div');
+ // The element must have some painted content in order to be composited.
+ target.textContent = 'x';
target.classList.add('target');
container.appendChild(target);
target.animate([

Powered by Google App Engine
This is Rietveld 408576698