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

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

Issue 211233003: CSS Transforms: Implement perspective (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Disable compositing assert hit by new tests. Created 6 years, 8 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-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 margin-top: 50px; 6 margin-top: 50px;
7 margin-bottom: 25px; 7 margin-bottom: 25px;
8 } 8 }
9 .transformed { 9 .transformed {
10 width: 50px; 10 width: 50px;
(...skipping 11 matching lines...) Expand all
22 opacity: 0.75; 22 opacity: 0.75;
23 } 23 }
24 </style> 24 </style>
25 <body> 25 <body>
26 <template id="target-template"> 26 <template id="target-template">
27 <div><div class="transformed"></div></div> 27 <div><div class="transformed"></div></div>
28 </template> 28 </template>
29 <script src="resources/interpolation-test.js"></script> 29 <script src="resources/interpolation-test.js"></script>
30 <script> 30 <script>
31 assertInterpolation({ 31 assertInterpolation({
32 property: '-webkit-perspective', 32 property: 'perspective',
33 from: '50px', 33 from: '50px',
34 to: '100px' 34 to: '100px'
35 }, [ 35 }, [
36 {at: -20, is: 'none'}, // perspective does not accept 0 or negative values 36 {at: -20, is: 'none'}, // perspective does not accept 0 or negative values
37 {at: -0.3, is: '35px'}, 37 {at: -0.3, is: '35px'},
38 {at: 0, is: '50px'}, 38 {at: 0, is: '50px'},
39 {at: 0.3, is: '65px'}, 39 {at: 0.3, is: '65px'},
40 {at: 0.6, is: '80px'}, 40 {at: 0.6, is: '80px'},
41 {at: 1, is: '100px'}, 41 {at: 1, is: '100px'},
42 {at: 1.5, is: '125px'} 42 {at: 1.5, is: '125px'}
43 ]); 43 ]);
44 </script> 44 </script>
45 </body> 45 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/perspective-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698