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

Unified Diff: LayoutTests/css3/filters/composited-during-animation.html

Issue 14805007: Clean up expectations for animation helper tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline LayoutTests/css3/masking/clip-path-animation Created 7 years, 7 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/css3/filters/composited-during-animation.html
diff --git a/LayoutTests/css3/filters/composited-during-animation.html b/LayoutTests/css3/filters/composited-during-animation.html
index 3f462d09aaf83b45f783329880454b3f463ba86a..fba8270c19a7cff63020d27582d64691e345f4fa 100644
--- a/LayoutTests/css3/filters/composited-during-animation.html
+++ b/LayoutTests/css3/filters/composited-during-animation.html
@@ -133,8 +133,6 @@
];
function runPreTest() {
- var preResult = "";
-
for (var i=0; i < preExpectedValues.length; i++) {
var id = preExpectedValues[i][0];
var prop = preExpectedValues[i][1];
@@ -142,11 +140,10 @@
var element = document.getElementById(id);
var computedStyle = window.getComputedStyle(element)[prop];
if (computedStyle == expected)
- preResult += "PASS: Element " + id + " had filter value " + expected + " before animation.<br>";
+ result += "PASS: Element " + id + " had filter value " + expected + " before animation.<br>";
else
- preResult += "FAIL: Element " + id + " had filter value " + computedStyle + " rather than " + expected + " before animation.<br>";
+ result += "FAIL: Element " + id + " had filter value " + computedStyle + " rather than " + expected + " before animation.<br>";
}
- document.getElementById("preresult").innerHTML = preResult;
// Completed the pre-animation tests. Now start the animation.
setTimeout(function () {

Powered by Google App Engine
This is Rietveld 408576698