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 object-position: 30px 10px; | 5 object-position: 30px 10px; |
6 } | 6 } |
7 .target { | 7 .target { |
8 position: relative; | 8 position: relative; |
9 width: 100px; | 9 width: 100px; |
10 height: 100px; | 10 height: 100px; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 property: 'object-position', | 122 property: 'object-position', |
123 from: 'center', | 123 from: 'center', |
124 to: 'top right' | 124 to: 'top right' |
125 }, [ | 125 }, [ |
126 {at: -0.3, is: '35% 65%'}, | 126 {at: -0.3, is: '35% 65%'}, |
127 {at: 0, is: '50% 50%'}, | 127 {at: 0, is: '50% 50%'}, |
128 {at: 0.5, is: '75% 25%'}, | 128 {at: 0.5, is: '75% 25%'}, |
129 {at: 1, is: '100% 0%'}, | 129 {at: 1, is: '100% 0%'}, |
130 {at: 1.5, is: '125% -25%'} | 130 {at: 1.5, is: '125% -25%'} |
131 ]); | 131 ]); |
132 | |
133 // Bug 526738: Check that an element can be animated from a pair to a pair of pa irs | |
alancutter (OOO until 2018)
2015/09/01 03:38:45
No need to add comment, git blame will be sufficie
sashab
2015/09/01 04:49:03
Done.
| |
134 assertInterpolation({ | |
135 property: 'object-position', | |
136 from: 'center', | |
137 to: 'right bottom 100%', | |
138 }, [ | |
139 {at: 0, is: 'center'}, | |
140 {at: 1, is: 'right bottom 100%'}, | |
141 ]); | |
alancutter (OOO until 2018)
2015/09/01 03:38:45
0 and 1 don't really test interpolation at all, we
sashab
2015/09/01 04:49:03
Done.
| |
132 </script> | 142 </script> |
133 </body> | 143 </body> |
OLD | NEW |