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 width: 50px; | 5 width: 50px; |
6 height: 50px; | 6 height: 50px; |
7 background-color: black; | 7 background-color: black; |
8 display: inline-block; | 8 display: inline-block; |
9 border: 25px; | 9 border: 25px; |
10 margin-right: 50px; | 10 margin-right: 50px; |
(...skipping 21 matching lines...) Expand all Loading... |
32 {at: 0.4, is: '2px'}, | 32 {at: 0.4, is: '2px'}, |
33 {at: 0.5, is: '2.5px'}, | 33 {at: 0.5, is: '2.5px'}, |
34 {at: 0.6, is: '3px'}, | 34 {at: 0.6, is: '3px'}, |
35 {at: 0.7, is: '3.5px'}, | 35 {at: 0.7, is: '3.5px'}, |
36 {at: 0.8, is: '4px'}, | 36 {at: 0.8, is: '4px'}, |
37 {at: 0.9, is: '4.5px'}, | 37 {at: 0.9, is: '4.5px'}, |
38 {at: 1, is: '5px'}, | 38 {at: 1, is: '5px'}, |
39 {at: 1.5, is: '7.5px'}, | 39 {at: 1.5, is: '7.5px'}, |
40 {at: 10, is: '50px'} | 40 {at: 10, is: '50px'} |
41 ]); | 41 ]); |
| 42 assertInterpolation({ |
| 43 property: 'border-image-outset', |
| 44 from: '0', |
| 45 to: '5', |
| 46 }, [ |
| 47 {at: -0.3, is: '0'}, // CSS border-image-outset can't be negative. |
| 48 {at: 0, is: '0'}, |
| 49 {at: 0.1, is: '0.5'}, |
| 50 {at: 0.2, is: '1'}, |
| 51 {at: 0.3, is: '1.5'}, |
| 52 {at: 0.4, is: '2'}, |
| 53 {at: 0.5, is: '2.5'}, |
| 54 {at: 0.6, is: '3'}, |
| 55 {at: 0.7, is: '3.5'}, |
| 56 {at: 0.8, is: '4'}, |
| 57 {at: 0.9, is: '4.5'}, |
| 58 {at: 1, is: '5'}, |
| 59 {at: 1.5, is: '7.5'}, |
| 60 {at: 10, is: '50'} |
| 61 ]); |
42 </script> | 62 </script> |
43 </body> | 63 </body> |
OLD | NEW |