| 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 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 12 matching lines...) Expand all Loading... |
| 23 from: '0px', | 23 from: '0px', |
| 24 to: '50px', | 24 to: '50px', |
| 25 }, [ | 25 }, [ |
| 26 {at: -0.3, is: '0px'}, // CSS -webkit-mask-box-image-outset can't be negative. | 26 {at: -0.3, is: '0px'}, // CSS -webkit-mask-box-image-outset can't be negative. |
| 27 {at: 0, is: '0px'}, | 27 {at: 0, is: '0px'}, |
| 28 {at: 0.4, is: '20px'}, | 28 {at: 0.4, is: '20px'}, |
| 29 {at: 0.6, is: '30px'}, | 29 {at: 0.6, is: '30px'}, |
| 30 {at: 1, is: '50px'}, | 30 {at: 1, is: '50px'}, |
| 31 {at: 1.5, is: '75px'} | 31 {at: 1.5, is: '75px'} |
| 32 ]); | 32 ]); |
| 33 assertInterpolation({ |
| 34 property: '-webkit-mask-box-image-outset', |
| 35 from: '0', |
| 36 to: '50', |
| 37 }, [ |
| 38 {at: -0.3, is: '0'}, // CSS -webkit-mask-box-image-outset can't be negative. |
| 39 {at: 0, is: '0'}, |
| 40 {at: 0.4, is: '20'}, |
| 41 {at: 0.6, is: '30'}, |
| 42 {at: 1, is: '50'}, |
| 43 {at: 1.5, is: '75'} |
| 44 ]); |
| 33 </script> | 45 </script> |
| 34 </body> | 46 </body> |
| OLD | NEW |