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

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: 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 2f85e908104545d34978a3216f3c92bbee249b56..46543ea9748f7fdbdf1bc4d0706c1f67eadec97f 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);
}
}
@@ -283,6 +284,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