| 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-mask-size: 300px 300px; | 5 -webkit-mask-size: 300px 300px; |
| 6 } | 6 } |
| 7 .target { | 7 .target { |
| 8 width: 100px; | 8 width: 100px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 display: inline-block; | 10 display: inline-block; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 {at: 1.25, is: '175px 237.5px, 175px 237.5px, 175px 237.5px, 175px 237.5px'}, | 60 {at: 1.25, is: '175px 237.5px, 175px 237.5px, 175px 237.5px, 175px 237.5px'}, |
| 61 ]); | 61 ]); |
| 62 | 62 |
| 63 assertNoInterpolation({ | 63 assertNoInterpolation({ |
| 64 property: '-webkit-mask-size', | 64 property: '-webkit-mask-size', |
| 65 from: 'unset', | 65 from: 'unset', |
| 66 to: '200px 250px', | 66 to: '200px 250px', |
| 67 }); | 67 }); |
| 68 | 68 |
| 69 // Matched keywords in size value list. | 69 // Matched keywords in size value list. |
| 70 assertNoInterpolation({ | 70 assertInterpolation({ |
| 71 property: '-webkit-mask-size', | 71 property: '-webkit-mask-size', |
| 72 from: '0px 0px, 0px 0px, contain, cover', | 72 from: '0px 0px, 0px 0px, contain, cover', |
| 73 to: '20px 20px, 20px 20px, contain, cover', | 73 to: '40px 40px, 40px 40px, contain, cover', |
| 74 }); | 74 }, [ |
| 75 {at: -0.25, is: ' 0px 0px, 0px 0px, contain, cover'}, |
| 76 {at: 0, is: ' 0px 0px, 0px 0px, contain, cover'}, |
| 77 {at: 0.25, is: '10px 10px, 10px 10px, contain, cover'}, |
| 78 {at: 0.5, is: '20px 20px, 20px 20px, contain, cover'}, |
| 79 {at: 0.75, is: '30px 30px, 30px 30px, contain, cover'}, |
| 80 {at: 1, is: '40px 40px, 40px 40px, contain, cover'}, |
| 81 {at: 1.25, is: '50px 50px, 50px 50px, contain, cover'}, |
| 82 ]); |
| 75 | 83 |
| 76 // Mismatched keywords in size value list. | 84 // Mismatched keywords in size value list. |
| 77 assertNoInterpolation({ | 85 assertNoInterpolation({ |
| 78 property: '-webkit-mask-size', | 86 property: '-webkit-mask-size', |
| 79 from: '0px 0px, 0px 0px, contain, cover', | 87 from: '0px 0px, 0px 0px, contain, cover', |
| 80 to: '20px 20px, 20px 20px, cover, contain', | 88 to: '20px 20px, 20px 20px, cover, contain', |
| 81 }); | 89 }); |
| 82 | 90 |
| 83 // Equal number of size values as mask images. | 91 // Equal number of size values as mask images. |
| 84 assertInterpolation({ | 92 assertInterpolation({ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 {at: -0.25, is: ' 0px 0px, 80px 0px, 0px 0px, 90px 0px'}, | 127 {at: -0.25, is: ' 0px 0px, 80px 0px, 0px 0px, 90px 0px'}, |
| 120 {at: 0, is: ' 0px 0px, 80px 0px, 0px 0px, 80px 0px'}, | 128 {at: 0, is: ' 0px 0px, 80px 0px, 0px 0px, 80px 0px'}, |
| 121 {at: 0.25, is: '10px 10px, 80px 20px, 0px 20px, 70px 10px'}, | 129 {at: 0.25, is: '10px 10px, 80px 20px, 0px 20px, 70px 10px'}, |
| 122 {at: 0.5, is: '20px 20px, 80px 40px, 0px 40px, 60px 20px'}, | 130 {at: 0.5, is: '20px 20px, 80px 40px, 0px 40px, 60px 20px'}, |
| 123 {at: 0.75, is: '30px 30px, 80px 60px, 0px 60px, 50px 30px'}, | 131 {at: 0.75, is: '30px 30px, 80px 60px, 0px 60px, 50px 30px'}, |
| 124 {at: 1, is: '40px 40px, 80px 80px, 0px 80px, 40px 40px'}, | 132 {at: 1, is: '40px 40px, 80px 80px, 0px 80px, 40px 40px'}, |
| 125 {at: 1.25, is: '50px 50px, 80px 100px, 0px 100px, 30px 50px'}, | 133 {at: 1.25, is: '50px 50px, 80px 100px, 0px 100px, 30px 50px'}, |
| 126 ]); | 134 ]); |
| 127 </script> | 135 </script> |
| 128 </body> | 136 </body> |
| OLD | NEW |