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

Side by Side Diff: LayoutTests/animations/interpolation/height-interpolation.html

Issue 1243313002: Migrate the remaining CSS properties interpolable as Lengths to LengthInterpolationType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add composition tests Created 5 years, 3 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 height: 200px; 5 height: 200px;
6 } 6 }
7 .target { 7 .target {
8 width: 100px; 8 width: 100px;
9 height: 100px; 9 height: 100px;
10 background-color: black; 10 background-color: black;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 assertNoInterpolation({ 54 assertNoInterpolation({
55 property: 'height', 55 property: 'height',
56 from: 'unset', 56 from: 'unset',
57 to: '20px', 57 to: '20px',
58 }); 58 });
59 59
60 assertInterpolation({ 60 assertInterpolation({
61 property: 'height', 61 property: 'height',
62 from: '0px', 62 from: '0px',
63 to: '100px' 63 to: '100px',
64 }, [ 64 }, [
65 {at: -0.3, is: '0px'}, // CSS height can't be negative. 65 {at: -0.3, is: '0px'}, // CSS height can't be negative.
66 {at: 0, is: '0px'}, 66 {at: 0, is: '0px'},
67 {at: 0.3, is: '30px'}, 67 {at: 0.3, is: '30px'},
68 {at: 0.6, is: '60px'}, 68 {at: 0.6, is: '60px'},
69 {at: 1, is: '100px'}, 69 {at: 1, is: '100px'},
70 {at: 1.5, is: '150px'} 70 {at: 1.5, is: '150px'}
71 ]); 71 ]);
72 </script> 72 </script>
73 </body> 73 </body>
OLDNEW
« no previous file with comments | « LayoutTests/animations/composition/y-composition.html ('k') | LayoutTests/animations/interpolation/width-interpolation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698