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

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

Issue 1300323003: Make flex-grow and flex-shrink interpolation continuous with 0 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test Created 5 years, 4 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-shrink-interpolation.html
diff --git a/LayoutTests/animations/interpolation/flex-shrink-interpolation.html b/LayoutTests/animations/interpolation/flex-shrink-interpolation.html
index 9428f4ca7f301f2e45ce50f52fcfb230c7172cb0..fe3a65d64ae688d0827379b448fc0a45be1d8053 100644
--- a/LayoutTests/animations/interpolation/flex-shrink-interpolation.html
+++ b/LayoutTests/animations/interpolation/flex-shrink-interpolation.html
@@ -74,13 +74,21 @@ assertInterpolation({
{at: 0.3, is: '1.3'},
{at: 0.6, is: '1.6'},
{at: 1, is: '2'},
- {at: 1.5, is: '2.5'}
+ {at: 1.5, is: '2.5'},
]);
-assertNoInterpolation({
+assertInterpolation({
property: 'flex-shrink',
from: '0',
to: '1',
-});
+}, [
+ {at: -5, is: '0'},
+ {at: -0.3, is: '0'},
+ {at: 0, is: '0'},
+ {at: 0.3, is: '0.3'},
+ {at: 0.6, is: '0.6'},
+ {at: 1, is: '1'},
+ {at: 1.5, is: '1.5'},
+]);
</script>
</body>
« no previous file with comments | « LayoutTests/animations/interpolation/flex-grow-interpolation.html ('k') | LayoutTests/transitions/flex-transitions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698