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-rule-style: solid; | 5 -webkit-column-rule-style: solid; |
6 -webkit-column-rule-width: 90px; | 6 -webkit-column-rule-width: 90px; |
7 } | 7 } |
8 .target { | 8 .target { |
9 -webkit-column-count: 2; | 9 -webkit-column-count: 2; |
10 -webkit-column-rule: 2px solid black; | 10 -webkit-column-rule: 2px solid black; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 assertInterpolation({ | 42 assertInterpolation({ |
43 property: '-webkit-column-rule-width', | 43 property: '-webkit-column-rule-width', |
44 from: 'initial', | 44 from: 'initial', |
45 to: '40px', | 45 to: '40px', |
46 }, [ | 46 }, [ |
47 {at: -0.3, is: '0px'}, | 47 {at: -0.3, is: '0px'}, |
48 {at: 0, is: '3px'}, | 48 {at: 0, is: '3px'}, |
49 {at: 0.3, is: '14px'}, | 49 {at: 0.3, is: '14px'}, |
50 {at: 0.6, is: '25px'}, | 50 {at: 0.6, is: '25px'}, |
51 {at: 1, is: '40px'}, | 51 {at: 1, is: '40px'}, |
52 {at: 1.5, is: '59px'}, | 52 {at: 1.5, is: '58px'}, |
53 ]); | 53 ]); |
54 | 54 |
55 assertInterpolation({ | 55 assertInterpolation({ |
56 property: '-webkit-column-rule-width', | 56 property: '-webkit-column-rule-width', |
57 from: 'inherit', | 57 from: 'inherit', |
58 to: '40px', | 58 to: '40px', |
59 }, [ | 59 }, [ |
60 {at: -0.3, is: '105px'}, | 60 {at: -0.3, is: '105px'}, |
61 {at: 0, is: '90px'}, | 61 {at: 0, is: '90px'}, |
62 {at: 0.3, is: '75px'}, | 62 {at: 0.3, is: '75px'}, |
63 {at: 0.6, is: '60px'}, | 63 {at: 0.6, is: '60px'}, |
64 {at: 1, is: '40px'}, | 64 {at: 1, is: '40px'}, |
65 {at: 1.5, is: '15px'}, | 65 {at: 1.5, is: '15px'}, |
66 ]); | 66 ]); |
67 | 67 |
68 assertInterpolation({ | 68 assertInterpolation({ |
69 property: '-webkit-column-rule-width', | 69 property: '-webkit-column-rule-width', |
70 from: 'unset', | 70 from: 'unset', |
71 to: '40px', | 71 to: '40px', |
72 }, [ | 72 }, [ |
73 {at: -0.3, is: '0px'}, | 73 {at: -0.3, is: '0px'}, |
74 {at: 0, is: '3px'}, | 74 {at: 0, is: '3px'}, |
75 {at: 0.3, is: '14px'}, | 75 {at: 0.3, is: '14px'}, |
76 {at: 0.6, is: '25px'}, | 76 {at: 0.6, is: '25px'}, |
77 {at: 1, is: '40px'}, | 77 {at: 1, is: '40px'}, |
78 {at: 1.5, is: '59px'}, | 78 {at: 1.5, is: '58px'}, |
79 ]); | 79 ]); |
80 | 80 |
81 assertInterpolation({ | 81 assertInterpolation({ |
82 property: '-webkit-column-rule-width', | 82 property: '-webkit-column-rule-width', |
83 from: '0px', | 83 from: '0px', |
84 to: '100px' | 84 to: '100px' |
85 }, [ | 85 }, [ |
86 {at: -0.3, is: '0'}, // -webkit-column-rule-width can't be negative. | 86 {at: -0.3, is: '0'}, // -webkit-column-rule-width can't be negative. |
87 {at: 0, is: '0'}, | 87 {at: 0, is: '0'}, |
88 {at: 0.3, is: '30px'}, | 88 {at: 0.3, is: '30px'}, |
89 {at: 0.6, is: '60px'}, | 89 {at: 0.6, is: '60px'}, |
90 {at: 1, is: '100px'}, | 90 {at: 1, is: '100px'}, |
91 {at: 1.5, is: '150px'}, | 91 {at: 1.5, is: '150px'}, |
92 ]); | 92 ]); |
93 </script> | 93 </script> |
94 </body> | 94 </body> |
OLD | NEW |