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

Side by Side Diff: LayoutTests/animations/interpolation/shape-outside.html

Issue 144373002: [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/shape-outside-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <body> 3 <body>
4 <script src="resources/interpolation-test.js"></script> 4 <script src="resources/interpolation-test.js"></script>
5 <script> 5 <script>
6 assertInterpolation({ 6 assertInterpolation({
7 property: 'shape-outside', 7 property: 'shape-outside',
8 from: 'rectangle(0px, 0px, 100px, 100px)', 8 from: 'rectangle(0px, 0px, 100px, 100px)',
9 to: 'rectangle(25px, 25px, 50px, 50px)' 9 to: 'rectangle(25px, 25px, 50px, 50px)'
10 }, [ 10 }, [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 from: 'none', 86 from: 'none',
87 to: 'ellipse(100% 100% at 0% 0%)', 87 to: 'ellipse(100% 100% at 0% 0%)',
88 }, [ 88 }, [
89 {at: -0.3, is: 'none'}, 89 {at: -0.3, is: 'none'},
90 {at: 0, is: 'none'}, 90 {at: 0, is: 'none'},
91 {at: 0.3, is: 'none'}, 91 {at: 0.3, is: 'none'},
92 {at: 0.6, is: 'ellipse(100% 100% at 0% 0%)'}, 92 {at: 0.6, is: 'ellipse(100% 100% at 0% 0%)'},
93 {at: 1, is: 'ellipse(100% 100% at 0% 0%)'}, 93 {at: 1, is: 'ellipse(100% 100% at 0% 0%)'},
94 {at: 1.5, is: 'ellipse(100% 100% at 0% 0%)'} 94 {at: 1.5, is: 'ellipse(100% 100% at 0% 0%)'}
95 ]); 95 ]);
96
97 // TODO: add intermediate keyframe tests when CSS shapes position computed value s are cleaned up
dstockwell 2014/02/28 01:57:53 I think it's better to add these now and check in
98 assertInterpolation({
99 property: 'shape-outside',
100 from: 'circle(20% at right 10% bottom 20px)',
101 to: 'circle(30% at right 20% bottom 30px)',
102 }, [
103 {at: 0, is: 'circle(20% at right 10% bottom 20px)'},
104 {at: 1, is: 'circle(30% at right 20% bottom 30px)'},
105 ]);
96 </script> 106 </script>
97 </body> 107 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/shape-outside-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698