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

Unified Diff: third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html

Issue 1649663002: Make CSS Animations responsive to changes to their keyframe offsets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html
diff --git a/third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html b/third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html
index 88df153a8a61ab45036bf6431e01bd1d83586f06..90806db58152bc24a34e4d95518ec890da1cb59b 100644
--- a/third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html
+++ b/third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html
@@ -46,10 +46,9 @@
assert_equals(parseInt(getComputedStyle(target1).left), 120, 'left offset');
assert_equals(parseInt(getComputedStyle(target2).left), 180, 'left offset');
- keyframe.style.left = '500px';
keyframe.keyText = '20%';
- assert_equals(parseInt(getComputedStyle(target1).left), 450, 'left offset');
- assert_equals(parseInt(getComputedStyle(target2).left), 300, 'left offset');
+ assert_equals(parseInt(getComputedStyle(target1).left), 187, 'left offset');
+ assert_equals(parseInt(getComputedStyle(target2).left), 150, 'left offset');
}, "Check that changes to keyframe style declarations update the animation accordingly");
</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698