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

Side by Side Diff: LayoutTests/animations/interpolation/perspective-origin-interpolation.html

Issue 212673002: CSS Transforms: Implement perspective-origin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/perspective-origin-interpolation-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 <style> 3 <style>
4 .target { 4 .target {
5 display: inline-block; 5 display: inline-block;
6 -webkit-perspective: 50; 6 -webkit-perspective: 50;
7 perspective: 50; 7 perspective: 50;
8 margin-top: 50px; 8 margin-top: 50px;
9 margin-bottom: 25px; 9 margin-bottom: 25px;
10 } 10 }
(...skipping 13 matching lines...) Expand all
24 opacity: 0.75; 24 opacity: 0.75;
25 } 25 }
26 </style> 26 </style>
27 <body> 27 <body>
28 <template id="target-template"> 28 <template id="target-template">
29 <div><div class="transformed"></div></div> 29 <div><div class="transformed"></div></div>
30 </template> 30 </template>
31 <script src="resources/interpolation-test.js"></script> 31 <script src="resources/interpolation-test.js"></script>
32 <script> 32 <script>
33 assertInterpolation({ 33 assertInterpolation({
34 property: '-webkit-perspective-origin', 34 property: 'perspective-origin',
35 from: '0% 50%', 35 from: '0% 50%',
36 to: '100% 150%' 36 to: '100% 150%'
37 }, [ 37 }, [
38 {at: -0.3, is: '-30% 20%'}, 38 {at: -0.3, is: '-30% 20%'},
39 {at: 0, is: '0% 50%'}, 39 {at: 0, is: '0% 50%'},
40 {at: 0.3, is: '30% 80%'}, 40 {at: 0.3, is: '30% 80%'},
41 {at: 0.6, is: '60% 110%'}, 41 {at: 0.6, is: '60% 110%'},
42 {at: 1, is: '100% 150%'}, 42 {at: 1, is: '100% 150%'},
43 {at: 1.5, is: '150% 200%'} 43 {at: 1.5, is: '150% 200%'}
44 ]); 44 ]);
45 </script> 45 </script>
46 </body> 46 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/perspective-origin-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698