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

Unified Diff: LayoutTests/animations/interpolation/opacity-interpolation.html

Issue 811993002: Animation: Implement DoubleStyleInterpolation in StringKeyframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove shape image threshold test Created 5 years, 10 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 | LayoutTests/animations/interpolation/opacity-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/opacity-interpolation.html
diff --git a/LayoutTests/animations/interpolation/opacity-interpolation.html b/LayoutTests/animations/interpolation/opacity-interpolation.html
index cf619eb1cd245fbd4de56f5428fb33c9eabddffe..ff51c1408e98fc9992cde2f4b50c1355eb98f47c 100644
--- a/LayoutTests/animations/interpolation/opacity-interpolation.html
+++ b/LayoutTests/animations/interpolation/opacity-interpolation.html
@@ -26,5 +26,18 @@ assertInterpolation({
{at: 1, is: '1'},
{at: 1.5, is: '1'}
]);
+assertInterpolation({
+ property: 'opacity',
+ from: '-2',
+ to: '-4'
+}, [
+ {at: -1.25, is: '0.5'},
+ {at: -0.3, is: '0'}, // CSS opacity is [0-1].
+ {at: 0, is: '0'},
+ {at: 0.3, is: '0'},
+ {at: 0.6, is: '0'},
+ {at: 1, is: '0'},
+ {at: 1.5, is: '0'}
+]);
</script>
</body>
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/opacity-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698