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

Side by Side Diff: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/perspective-interpolation.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="UTF-8">
3 <style>
4 .target {
5 display: inline-block;
6 margin-top: 50px;
7 margin-bottom: 25px;
8 }
9 .transformed {
10 width: 50px;
11 height: 50px;
12 background: black;
13 transform: rotateY(45deg);
14 }
15 .replica .transformed {
16 background: green;
17 }
18 .replica {
19 position: relative;
20 left: -50px;
21 opacity: 0.75;
22 }
23 </style>
24 <body>
25 <template id="target-template">
26 <div><div class="transformed"></div></div>
27 </template>
28 <script src="../testharness/testharness.js"></script>
29 <script src="../testharness/testharnessreport.js"></script>
30 <script src="resources/interpolation-test.js"></script>
31 <script>
32 assertInterpolation({
33 property: 'perspective',
34 prefixedProperty: ['-webkit-perspective'],
35 from: '50px',
36 to: '100px'
37 }, [
38 {at: -20, is: 'none'}, // perspective does not accept 0 or negative values
39 {at: -1, is: 'none'}, // perspective does not accept 0 or negative values
40 {at: -0.3, is: '35px'},
41 {at: 0, is: '50px'},
42 {at: 0.3, is: '65px'},
43 {at: 0.6, is: '80px'},
44 {at: 1, is: '100px'},
45 {at: 1.5, is: '125px'}
46 ]);
47 </script>
48 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698