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

Side by Side Diff: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/flex-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 height: 10px;
6 background: black;
7 }
8 .filler {
9 height: 10px;
10 -webkit-flex: 1 1 50%;
11 flex: 1 1 50%;
12 }
13 .replica {
14 background: green;
15 }
16 .container {
17 display: -webkit-flex;
18 display: flex;
19 }
20 </style>
21 <body>
22 <template id="target-template"><div class="container">
23 <div class="target"></div>
24 <div class="filler"></div>
25 </div></template>
26 <script src="../testharness/testharness.js"></script>
27 <script src="../testharness/testharnessreport.js"></script>
28 <script src="resources/interpolation-test.js"></script>
29 <script>
30 assertInterpolation({
31 property: 'flex',
32 from: '1 1 0%',
33 to: '2 2 100%'
34 }, [
35 {at: -5, is: '0 0 0%'},
36 {at: -0.3, is: '0.7 0.7 0%'},
37 {at: 0, is: '1 1 0%'},
38 {at: 0.3, is: '1.3 1.3 30%'},
39 {at: 0.6, is: '1.6 1.6 60%'},
40 {at: 1, is: '2 2 100%'},
41 {at: 1.5, is: '2.5 2.5 150%'}
42 ]);
43 assertInterpolation({
44 property: 'flex',
45 from: '0 0 100%',
46 to: '1 1 100%'
47 }, [
48 {at: -0.3, is: '0 0 100%'},
49 {at: 0, is: '0 0 100%'},
50 {at: 0.4, is: '0 0 100%'},
51 {at: 0.6, is: '1 1 100%'},
52 {at: 1, is: '1 1 100%'},
53 {at: 1.5, is: '1 1 100%'}
54 ]);
55 </script>
56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698