OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/responsive-test.js"></script> | 2 <script src="resources/responsive-test.js"></script> |
3 <script> | 3 <script> |
4 assertCSSResponsive({ | 4 assertCSSResponsive({ |
5 property: 'background-position', | 5 property: 'background-position', |
6 from: neutralKeyframe, | 6 from: neutralKeyframe, |
7 to: '100px 100px', | 7 to: '100px 100px', |
8 configurations: [{ | 8 configurations: [{ |
9 state: {underlying: '20px 60px'}, | 9 state: {underlying: '20px 60px'}, |
10 expect: [ | 10 expect: [ |
(...skipping 21 matching lines...) Expand all Loading... |
32 ], | 32 ], |
33 }, { | 33 }, { |
34 state: {inherited: '60px 20px'}, | 34 state: {inherited: '60px 20px'}, |
35 expect: [ | 35 expect: [ |
36 {at: 0.25, is: '70px 40px'}, | 36 {at: 0.25, is: '70px 40px'}, |
37 {at: 0.75, is: '90px 80px'}, | 37 {at: 0.75, is: '90px 80px'}, |
38 ], | 38 ], |
39 }], | 39 }], |
40 }); | 40 }); |
41 </script> | 41 </script> |
OLD | NEW |