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-gap: 90px; | 5 -webkit-column-gap: 90px; |
6 } | 6 } |
7 .target { | 7 .target { |
8 -webkit-column-count: 2; | 8 -webkit-column-count: 2; |
9 -webkit-column-gap: 10px; | 9 -webkit-column-gap: 10px; |
10 } | 10 } |
11 .expected div { | 11 .expected div { |
12 opacity: 0.7; | 12 opacity: 0.7; |
13 } | 13 } |
14 .target > div { | 14 .target > div { |
15 height: 20px; | 15 height: 20px; |
16 background-color: black; | 16 background-color: black; |
17 } | 17 } |
18 .target.expected > div { | 18 .target.expected > div { |
19 background-color: green; | 19 background-color: green; |
20 } | 20 } |
21 </style> | 21 </style> |
22 <body> | 22 <body> |
23 <template id='target-template'> | 23 <template id='target-template'> |
24 <div></div><div></div> | 24 <div></div><div></div> |
25 </template> | 25 </template> |
26 <script src='resources/interpolation-test.js'></script> | 26 <script src='resources/interpolation-test.js'></script> |
27 <script> | 27 <script> |
28 assertInterpolation({ | 28 assertInterpolation({ |
29 property: '-webkit-column-gap', | 29 property: '-webkit-column-gap', |
30 from: '', | 30 from: neutralKeyframe, |
31 to: '40px', | 31 to: '40px', |
32 }, [ | 32 }, [ |
33 {at: -0.3, is: '1px'}, | 33 {at: -0.3, is: '1px'}, |
34 {at: 0, is: '10px'}, | 34 {at: 0, is: '10px'}, |
35 {at: 0.3, is: '19px'}, | 35 {at: 0.3, is: '19px'}, |
36 {at: 0.6, is: '28px'}, | 36 {at: 0.6, is: '28px'}, |
37 {at: 1, is: '40px'}, | 37 {at: 1, is: '40px'}, |
38 {at: 1.5, is: '55px'}, | 38 {at: 1.5, is: '55px'}, |
39 ]); | 39 ]); |
40 | 40 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 }, [ | 84 }, [ |
85 {at: -0.3, is: '0'}, // -webkit-column-gap can't be negative. | 85 {at: -0.3, is: '0'}, // -webkit-column-gap can't be negative. |
86 {at: 0, is: '0'}, | 86 {at: 0, is: '0'}, |
87 {at: 0.3, is: '30px'}, | 87 {at: 0.3, is: '30px'}, |
88 {at: 0.6, is: '60px'}, | 88 {at: 0.6, is: '60px'}, |
89 {at: 1, is: '100px'}, | 89 {at: 1, is: '100px'}, |
90 {at: 1.5, is: '150px'} | 90 {at: 1.5, is: '150px'} |
91 ]); | 91 ]); |
92 </script> | 92 </script> |
93 </body> | 93 </body> |
OLD | NEW |