Index: LayoutTests/web-animations-api/animations-responsive-to-style-change.html |
diff --git a/LayoutTests/web-animations-api/animations-responsive-to-style-change.html b/LayoutTests/web-animations-api/animations-responsive-to-style-change.html |
index 6770389f89d1659a693b86b1f19d73abfaec4ba7..7c9f1e1cdf50b9f1cc709f52e31311fbf294da80 100644 |
--- a/LayoutTests/web-animations-api/animations-responsive-to-style-change.html |
+++ b/LayoutTests/web-animations-api/animations-responsive-to-style-change.html |
@@ -13,7 +13,7 @@ var container = document.getElementById('container'); |
test(function() { |
element.style.fontSize = '10px'; |
container.style.width = '1000px'; |
- var player = element.animate([{left: 'calc(100px + 80%)', offset: 0}, {left: '10em', offset: 1}], 10); |
+ var player = element.animate([{left: 'calc(100px + 80%)'}, {left: '10em'}], 10); |
player.pause(); |
player.currentTime = 5; |
assert_equals(getComputedStyle(element).left, '500px'); |
@@ -25,7 +25,7 @@ test(function() { |
test(function() { |
container.style.width = '1000px'; |
- var player = element.animate([{paddingTop: '30%', offset: 0}, {paddingTop: '50%', offset: 1}], 10); |
+ var player = element.animate([{paddingTop: '30%'}, {paddingTop: '50%'}], 10); |
player.pause(); |
player.currentTime = 5; |
container.style.width = '700px'; |
@@ -34,7 +34,7 @@ test(function() { |
test(function() { |
element.style.fontSize = '1px'; |
- var player = element.animate([{lineHeight: '9', offset: 0}, {lineHeight: '13', offset: 1}], 10); |
+ var player = element.animate([{lineHeight: '9'}, {lineHeight: '13'}], 10); |
player.pause(); |
player.currentTime = 2.5; |
element.style.fontSize = '7px'; |