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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 .parent { 4 .parent {
5 flex-shrink: 3; 5 flex-shrink: 3;
6 } 6 }
7 .target { 7 .target {
8 flex-shrink: 1.5; 8 flex-shrink: 1.5;
9 } 9 }
10 </style> 10 </style>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 property: 'flex-shrink', 67 property: 'flex-shrink',
68 from: '1', 68 from: '1',
69 to: '2', 69 to: '2',
70 }, [ 70 }, [
71 {at: -5, is: '0'}, 71 {at: -5, is: '0'},
72 {at: -0.3, is: '0.7'}, 72 {at: -0.3, is: '0.7'},
73 {at: 0, is: '1'}, 73 {at: 0, is: '1'},
74 {at: 0.3, is: '1.3'}, 74 {at: 0.3, is: '1.3'},
75 {at: 0.6, is: '1.6'}, 75 {at: 0.6, is: '1.6'},
76 {at: 1, is: '2'}, 76 {at: 1, is: '2'},
77 {at: 1.5, is: '2.5'} 77 {at: 1.5, is: '2.5'},
78 ]); 78 ]);
79 79
80 assertNoInterpolation({ 80 assertInterpolation({
81 property: 'flex-shrink', 81 property: 'flex-shrink',
82 from: '0', 82 from: '0',
83 to: '1', 83 to: '1',
84 }); 84 }, [
85 {at: -5, is: '0'},
86 {at: -0.3, is: '0'},
87 {at: 0, is: '0'},
88 {at: 0.3, is: '0.3'},
89 {at: 0.6, is: '0.6'},
90 {at: 1, is: '1'},
91 {at: 1.5, is: '1.5'},
92 ]);
85 </script> 93 </script>
86 </body> 94 </body>
OLDNEW
« 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