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

Unified Diff: LayoutTests/animations/interpolation/shape-image-threshold.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
Index: LayoutTests/animations/interpolation/shape-image-threshold.html
diff --git a/LayoutTests/animations/interpolation/shape-image-threshold.html b/LayoutTests/animations/interpolation/shape-image-threshold.html
index eee693939ecbae52cb994fd31138a02d9bca137c..0d7a281a9da26504e94717e18dd1a7698fc05183 100644
--- a/LayoutTests/animations/interpolation/shape-image-threshold.html
+++ b/LayoutTests/animations/interpolation/shape-image-threshold.html
@@ -15,5 +15,18 @@ assertInterpolation({
{at: 1, is: '1'},
{at: 1.5, is: '1'}
]);
+assertInterpolation({
+ property: 'shape-image-threshold',
+ from: '2',
+ to: '4'
+}, [
+ {at: -1.5, is: '0'},
+ {at: -0.75, is: '0.5'},
+ {at: -0.5, is: '1'},
+ {at: 0, is: '1'},
+ {at: 0.5, is: '1'},
+ {at: 1, is: '1'},
+ {at: 1.5, is: '1'}
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698