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

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

Issue 811993002: Animation: Implement DoubleStyleInterpolation in StringKeyframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply all of Alan and Doug's changes 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/flex-interpolation.html
diff --git a/LayoutTests/animations/interpolation/flex-interpolation.html b/LayoutTests/animations/interpolation/flex-interpolation.html
index 58d3c578618aaad46855e3809c2a6417cdbbe073..a624a3a1754f35c7d369fe72510da05c58dad947 100644
--- a/LayoutTests/animations/interpolation/flex-interpolation.html
+++ b/LayoutTests/animations/interpolation/flex-interpolation.html
@@ -50,5 +50,29 @@ assertInterpolation({
{at: 1, is: '1 1 100%'},
{at: 1.5, is: '1 1 100%'}
]);
+assertInterpolation({
+ property: 'flex-shrink',
+ from: '0',
+ to: '1'
+}, [
+ {at: -0.3, is: '0'},
+ {at: 0, is: '0'},
+ {at: 0.4, is: '0.4'},
+ {at: 0.6, is: '0.6'},
+ {at: 1, is: '1'},
+ {at: 1.5, is: '1.5'}
+]);
+assertInterpolation({
+ property: 'flex-grow',
+ from: '0',
+ to: '1'
+}, [
+ {at: -0.3, is: '0'},
+ {at: 0, is: '0'},
+ {at: 0.4, is: '0.4'},
+ {at: 0.6, is: '0.6'},
+ {at: 1, is: '1'},
+ {at: 1.5, is: '1.5'}
+]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698