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

Unified Diff: third_party/WebKit/LayoutTests/animations/resources/composited-animation-test.js

Issue 2702483002: Paint some content for animated elements in composited animation tests. (Closed)
Patch Set: Don't revise sample-on-last-keyframe.html test. 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/resources/composited-animation-test.js
diff --git a/third_party/WebKit/LayoutTests/animations/resources/composited-animation-test.js b/third_party/WebKit/LayoutTests/animations/resources/composited-animation-test.js
index 3b5fc0020a4a13fc181186abe5d9fed89c3ed012..c542583f92558c3a7986a8a1d6782222ff95879b 100644
--- a/third_party/WebKit/LayoutTests/animations/resources/composited-animation-test.js
+++ b/third_party/WebKit/LayoutTests/animations/resources/composited-animation-test.js
@@ -34,6 +34,8 @@ class CompositedAnimationTestCommon {
createStaticElements() {
this.error = document.createElement('span');
this.error.style.color = 'red';
+ // The element must have some painted content in order to be composited.
+ this.error.textContent = 'x';
document.body.appendChild(this.error);
this.wrapper = document.createElement('div');

Powered by Google App Engine
This is Rietveld 408576698