| 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: 'scale', | 5 property: 'scale', |
| 6 from: 'inherit', | 6 from: 'inherit', |
| 7 to: '1 2 3', | 7 to: '1 2 3', |
| 8 configurations: [{ | 8 configurations: [{ |
| 9 state: {inherited: '2'}, | 9 state: {inherited: '2'}, |
| 10 expect: [ | 10 expect: [ |
| 11 {at: 0.25, is: '1.75 2 1.5'}, | 11 {at: 0.25, is: '1.75 1.25 1.5'}, |
| 12 {at: 0.75, is: '1.25 2 2.5'}, | 12 {at: 0.75, is: '1.25 1.75 2.5'}, |
| 13 ], | 13 ], |
| 14 }, { | 14 }, { |
| 15 state: {inherited: '1'}, | 15 state: {inherited: '1'}, |
| 16 expect: [ | 16 expect: [ |
| 17 {at: 0.25, is: '1 1.25 1.5'}, | 17 {at: 0.25, is: '1 1.25 1.5'}, |
| 18 {at: 0.75, is: '1 1.75 2.5'}, | 18 {at: 0.75, is: '1 1.75 2.5'}, |
| 19 ], | 19 ], |
| 20 }], | 20 }], |
| 21 }); | 21 }); |
| 22 | 22 |
| 23 assertCSSResponsive({ | 23 assertCSSResponsive({ |
| 24 property: 'scale', | 24 property: 'scale', |
| 25 from: neutralKeyframe, | 25 from: neutralKeyframe, |
| 26 to: '1 2 3', | 26 to: '1 2 3', |
| 27 configurations: [{ | 27 configurations: [{ |
| 28 state: {underlying: '2'}, | 28 state: {underlying: '2'}, |
| 29 expect: [ | 29 expect: [ |
| 30 {at: 0.25, is: '1.75 2 1.5'}, | 30 {at: 0.25, is: '1.75 1.25 1.5'}, |
| 31 {at: 0.75, is: '1.25 2 2.5'}, | 31 {at: 0.75, is: '1.25 1.75 2.5'}, |
| 32 ], | 32 ], |
| 33 }, { | 33 }, { |
| 34 state: {underlying: '1'}, | 34 state: {underlying: '1'}, |
| 35 expect: [ | 35 expect: [ |
| 36 {at: 0.25, is: '1 1.25 1.5'}, | 36 {at: 0.25, is: '1 1.25 1.5'}, |
| 37 {at: 0.75, is: '1 1.75 2.5'}, | 37 {at: 0.75, is: '1 1.75 2.5'}, |
| 38 ], | 38 ], |
| 39 }], | 39 }], |
| 40 }); | 40 }); |
| 41 </script> | 41 </script> |
| OLD | NEW |