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: 100px; | 5 width: 100px; |
6 height: 100px; | 6 height: 100px; |
7 } | 7 } |
8 .active { | 8 .active { |
9 background-color: green; | 9 background-color: green; |
10 display: inline-block; | 10 display: inline-block; |
(...skipping 25 matching lines...) Expand all Loading... |
36 from: 'none', | 36 from: 'none', |
37 to: 'circle(3px at 1px 2px)' | 37 to: 'circle(3px at 1px 2px)' |
38 }, [ | 38 }, [ |
39 {at: -0.3, is: 'none'}, | 39 {at: -0.3, is: 'none'}, |
40 {at: 0, is: 'none'}, | 40 {at: 0, is: 'none'}, |
41 {at: 0.3, is: 'none'}, | 41 {at: 0.3, is: 'none'}, |
42 {at: 0.6, is: 'circle(3px at 1px 2px)'}, | 42 {at: 0.6, is: 'circle(3px at 1px 2px)'}, |
43 {at: 1, is: 'circle(3px at 1px 2px)'}, | 43 {at: 1, is: 'circle(3px at 1px 2px)'}, |
44 {at: 1.5, is: 'circle(3px at 1px 2px)'} | 44 {at: 1.5, is: 'circle(3px at 1px 2px)'} |
45 ]); | 45 ]); |
| 46 |
| 47 assertInterpolation({ |
| 48 property: '-webkit-clip-path', |
| 49 from: 'inset(0%)', |
| 50 to: 'inset(20%)', |
| 51 }, [ |
| 52 {at: -0.3, is: 'inset(-6%)'}, |
| 53 {at: 0, is: 'inset(0%)'}, |
| 54 {at: 0.3, is: 'inset(6%)'}, |
| 55 {at: 0.6, is: 'inset(12%)'}, |
| 56 {at: 1, is: 'inset(20%)'}, |
| 57 {at: 1.5, is: 'inset(30%)'}, |
| 58 ]); |
| 59 |
46 </script> | 60 </script> |
47 </body> | 61 </body> |
OLD | NEW |