Index: third_party/WebKit/LayoutTests/animations/change-keyframes.html |
diff --git a/third_party/WebKit/LayoutTests/animations/change-keyframes.html b/third_party/WebKit/LayoutTests/animations/change-keyframes.html |
index 97fda5a4cefb17df3182961a8f37ecc9c833d9d0..fc0bef452f7c6a4e5a6d67968807928496bd9227 100644 |
--- a/third_party/WebKit/LayoutTests/animations/change-keyframes.html |
+++ b/third_party/WebKit/LayoutTests/animations/change-keyframes.html |
@@ -43,7 +43,7 @@ |
// A forced style-recalc aborts the previous animation. |
box.style.animationName = "none"; |
- assert_equals(getComputedStyle(box).left, 'auto', 'left'); |
+ assert_equals(getComputedStyle(box).left, '0px', 'left'); |
// Change keyframes. |
var keyframes = findKeyframesRule("anim"); |
@@ -53,8 +53,8 @@ |
keyframes.appendRule("100% { top: 150px; }"); |
box.style.webkitAnimationName = "anim"; |
- // The left property should reset to auto and top should be animating. |
- assert_equals(getComputedStyle(box).left, 'auto', 'left'); |
+ // The left property should reset and top should be animating. |
+ assert_equals(getComputedStyle(box).left, '0px', 'left'); |
assert_equals(getComputedStyle(box).top, '100px', 'top'); |
}, "Check that changes to keyframe rules take effect"); |
</script> |