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

Unified Diff: LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html

Issue 716963002: Remove property-specific handling in animation-test-helpers.js (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@animhelpercleanup
Patch Set: rm whitespace Created 6 years, 1 month 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/animation-direction-reverse-fill-mode-hardware.html
diff --git a/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html b/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html
index 07c669b4176bf31d19162715358e5271b1973feb..2c99f63b4bd4509ad0433b37197dd2168bb3b330 100644
--- a/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html
+++ b/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html
@@ -58,9 +58,9 @@
function endTest() {
for (var i = 0; i < expectedValues.length; i++) {
- var realValue = getPropertyValue("webkitTransform.4", expectedValues[i].id);
+ var realValue = getPropertyValue("transform", expectedValues[i].id);
var expectedValue = expectedValues[i].end;
- if (comparePropertyValue("webkitTransform.4", realValue, expectedValue, allowance))
+ if (comparePropertyValue(realValue, expectedValue, allowance, 4))
result += "PASS";
else
result += "FAIL";
@@ -74,9 +74,9 @@
window.onload = function () {
for (var i = 0; i < expectedValues.length; i++) {
- var realValue = getPropertyValue("webkitTransform.4", expectedValues[i].id);
+ var realValue = getPropertyValue("transform", expectedValues[i].id);
var expectedValue = expectedValues[i].start;
- if (comparePropertyValue("webkitTransform.4", realValue, expectedValue, allowance))
+ if (comparePropertyValue(realValue, expectedValue, allowance, 4))
result += "PASS";
else
result += "FAIL";
« no previous file with comments | « LayoutTests/animations/animation-direction-reverse-fill-mode-expected.txt ('k') | LayoutTests/animations/big-rotation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698