OLD | NEW |
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 -webkit-column-width: 20px; | 5 -webkit-column-width: 20px; |
6 column-width: 20px; | 6 column-width: 20px; |
7 width: 600px; | 7 width: 600px; |
8 -webkit-column-gap: 20px; | 8 -webkit-column-gap: 20px; |
9 column-gap: 20px; | 9 column-gap: 20px; |
10 } | 10 } |
(...skipping 13 matching lines...) Expand all Loading... |
24 <template id='target-template'> | 24 <template id='target-template'> |
25 <div></div><div></div> | 25 <div></div><div></div> |
26 </template> | 26 </template> |
27 <script src='resources/interpolation-test.js'></script> | 27 <script src='resources/interpolation-test.js'></script> |
28 <script> | 28 <script> |
29 assertInterpolation({ | 29 assertInterpolation({ |
30 property: '-webkit-column-width', | 30 property: '-webkit-column-width', |
31 from: '1px', | 31 from: '1px', |
32 to: '101px' | 32 to: '101px' |
33 }, [ | 33 }, [ |
34 {at: -0.3, is: '0.00001px'}, | 34 {at: -0.3, is: '0.000000119px'}, |
35 {at: 0, is: '1px'}, | 35 {at: 0, is: '1px'}, |
36 {at: 0.3, is: '31px'}, | 36 {at: 0.3, is: '31px'}, |
37 {at: 0.6, is: '61px'}, | 37 {at: 0.6, is: '61px'}, |
38 {at: 1, is: '101px'}, | 38 {at: 1, is: '101px'}, |
39 {at: 1.5, is: '151px'} | 39 {at: 1.5, is: '151px'} |
40 ]); | 40 ]); |
41 assertInterpolation({ | 41 assertInterpolation({ |
42 property: '-webkit-column-width', | 42 property: '-webkit-column-width', |
43 from: '0px', | 43 from: '0px', |
44 to: '100px' | 44 to: '100px' |
45 }, [ | 45 }, [ |
46 {at: 0, is: '20px'} | 46 {at: 0, is: '20px'} |
47 ]); | 47 ]); |
48 </script> | 48 </script> |
49 </body> | 49 </body> |
OLD | NEW |