OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
3 <style> | 3 <style> |
4 .parent { | 4 .parent { |
5 -webkit-column-width: 90px; | 5 -webkit-column-width: 90px; |
6 } | 6 } |
7 .target { | 7 .target { |
8 column-width: 20px; | 8 column-width: 20px; |
9 width: 600px; | 9 width: 600px; |
10 -webkit-column-gap: 20px; | 10 -webkit-column-gap: 20px; |
(...skipping 16 matching lines...) Expand all Loading... |
27 <div class="parent"> | 27 <div class="parent"> |
28 <div class="target"> | 28 <div class="target"> |
29 <div></div><div></div> | 29 <div></div><div></div> |
30 </div> | 30 </div> |
31 </div> | 31 </div> |
32 </template> | 32 </template> |
33 <script src='resources/interpolation-test.js'></script> | 33 <script src='resources/interpolation-test.js'></script> |
34 <script> | 34 <script> |
35 assertInterpolation({ | 35 assertInterpolation({ |
36 property: '-webkit-column-width', | 36 property: '-webkit-column-width', |
37 from: '', | 37 from: neutralKeyframe, |
38 to: '40px', | 38 to: '40px', |
39 }, [ | 39 }, [ |
40 {at: -0.3, is: '1px'}, | 40 {at: -0.3, is: '1px'}, |
41 {at: 0, is: '10px'}, | 41 {at: 0, is: '10px'}, |
42 {at: 0.3, is: '19px'}, | 42 {at: 0.3, is: '19px'}, |
43 {at: 0.6, is: '28px'}, | 43 {at: 0.6, is: '28px'}, |
44 {at: 1, is: '40px'}, | 44 {at: 1, is: '40px'}, |
45 {at: 1.5, is: '55px'}, | 45 {at: 1.5, is: '55px'}, |
46 ]); | 46 ]); |
47 | 47 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 {at: 1.5, is: '151px'} | 84 {at: 1.5, is: '151px'} |
85 ]); | 85 ]); |
86 | 86 |
87 assertNoInterpolation({ | 87 assertNoInterpolation({ |
88 property: '-webkit-column-width', | 88 property: '-webkit-column-width', |
89 from: 'auto', | 89 from: 'auto', |
90 to: '100px' | 90 to: '100px' |
91 }); | 91 }); |
92 </script> | 92 </script> |
93 </body> | 93 </body> |
OLD | NEW |