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

Unified Diff: LayoutTests/animations/interpolation/resources/interpolation-test.js

Issue 26979002: CSS Animations: Simplify interpolation test results under test-runner (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 7 years, 2 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: LayoutTests/animations/interpolation/resources/interpolation-test.js
diff --git a/LayoutTests/animations/interpolation/resources/interpolation-test.js b/LayoutTests/animations/interpolation/resources/interpolation-test.js
index b2bf6791dc11e37a15e9fa90cfc6b5c0ba61de55..c4b6f298640ddc7d6712cddcc9b9130ff583e693 100644
--- a/LayoutTests/animations/interpolation/resources/interpolation-test.js
+++ b/LayoutTests/animations/interpolation/resources/interpolation-test.js
@@ -103,6 +103,7 @@
var results = document.createElement('div');
results.style.whiteSpace = 'pre';
results.textContent = resultString;
+ results.id = 'results';
document.body.appendChild(results);
}
}
@@ -284,6 +285,9 @@
}
if (window.testRunner) {
if (!isRefTest) {
+ var results = document.querySelector('#results');
+ document.documentElement.textContent = '';
+ document.documentElement.appendChild(results);
testRunner.dumpAsText();
}
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698