OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 @font-face { | 3 @font-face { |
4 font-family: 'WebKit WeightWatcher'; | 4 font-family: 'WebKit WeightWatcher'; |
5 font-weight: 100; | 5 font-weight: 100; |
6 src: url('../../resources/WebKitWeightWatcher100.ttf'); | 6 src: url('../../resources/WebKitWeightWatcher100.ttf'); |
7 } | 7 } |
8 @font-face { | 8 @font-face { |
9 font-family: 'WebKit WeightWatcher'; | 9 font-family: 'WebKit WeightWatcher'; |
10 font-weight: 200; | 10 font-weight: 200; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 .expected { | 58 .expected { |
59 color: green; | 59 color: green; |
60 margin-right: 30px; | 60 margin-right: 30px; |
61 } | 61 } |
62 </style> | 62 </style> |
63 <template id="target-template">A</template> | 63 <template id="target-template">A</template> |
64 <script src="resources/interpolation-test.js"></script> | 64 <script src="resources/interpolation-test.js"></script> |
65 <script> | 65 <script> |
66 assertInterpolation({ | 66 assertInterpolation({ |
67 property: 'font-weight', | 67 property: 'font-weight', |
68 from: '', | 68 from: neutralKeyframe, |
69 to: '900', | 69 to: '900', |
70 }, [ | 70 }, [ |
71 {at: -0.3, is: '600'}, | 71 {at: -0.3, is: '600'}, |
72 {at: 0, is: 'bold'}, | 72 {at: 0, is: 'bold'}, |
73 {at: 0.3, is: '800'}, | 73 {at: 0.3, is: '800'}, |
74 {at: 0.5, is: '800'}, | 74 {at: 0.5, is: '800'}, |
75 {at: 0.6, is: '800'}, | 75 {at: 0.6, is: '800'}, |
76 {at: 1, is: '900'}, | 76 {at: 1, is: '900'}, |
77 {at: 1.5, is: '900'}, | 77 {at: 1.5, is: '900'}, |
78 ]); | 78 ]); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 {at: 0.90/8, is: '200'}, | 141 {at: 0.90/8, is: '200'}, |
142 {at: 7.10/8, is: '800'}, | 142 {at: 7.10/8, is: '800'}, |
143 {at: 7.49/8, is: '800'}, | 143 {at: 7.49/8, is: '800'}, |
144 {at: 7.50/8, is: '900'}, | 144 {at: 7.50/8, is: '900'}, |
145 {at: 7.51/8, is: '900'}, | 145 {at: 7.51/8, is: '900'}, |
146 | 146 |
147 {at: -0.1, is: '100'}, | 147 {at: -0.1, is: '100'}, |
148 {at: 1.1, is: '900'}, | 148 {at: 1.1, is: '900'}, |
149 ]); | 149 ]); |
150 </script> | 150 </script> |
OLD | NEW |