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

Unified Diff: LayoutTests/animations/interpolation/flex-grow-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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/flex-shrink-interpolation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/flex-grow-interpolation.html
diff --git a/LayoutTests/animations/interpolation/flex-grow-interpolation.html b/LayoutTests/animations/interpolation/flex-grow-interpolation.html
index 90b13150d67c99ac18c1cf075287b7670185c6a4..d09cd3895da89e45967d188524440f977d6c231d 100644
--- a/LayoutTests/animations/interpolation/flex-grow-interpolation.html
+++ b/LayoutTests/animations/interpolation/flex-grow-interpolation.html
@@ -40,11 +40,18 @@ assertInterpolation({
{at: 1.5, is: '2.5'},
]);
-assertNoInterpolation({
+assertInterpolation({
property: 'flex-grow',
from: 'initial',
to: '2',
-});
+}, [
+ {at: -0.3, is: '0'},
+ {at: 0, is: '0'},
+ {at: 0.3, is: '0.6'},
+ {at: 0.6, is: '1.2'},
+ {at: 1, is: '2'},
+ {at: 1.5, is: '3'},
+]);
assertInterpolation({
property: 'flex-grow',
@@ -59,11 +66,18 @@ assertInterpolation({
{at: 1.5, is: '1.5'},
]);
-assertNoInterpolation({
+assertInterpolation({
property: 'flex-grow',
from: 'unset',
to: '2',
-});
+}, [
+ {at: -0.3, is: '0'},
+ {at: 0, is: '0'},
+ {at: 0.3, is: '0.6'},
+ {at: 0.6, is: '1.2'},
+ {at: 1, is: '2'},
+ {at: 1.5, is: '3'},
+]);
assertInterpolation({
property: 'flex-grow',
@@ -76,13 +90,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-grow',
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 | « no previous file | LayoutTests/animations/interpolation/flex-shrink-interpolation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698