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

Unified Diff: LayoutTests/web-animations-api/animations-responsive-to-style-change.html

Issue 292173009: Web Animations - responsive interpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@0519_MySeparation
Patch Set: applyAndSnapshotAnimatableValue Created 6 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/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';

Powered by Google App Engine
This is Rietveld 408576698