OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <script src="resources/responsive-test.js"></script> | |
3 <script> | |
4 assertCSSResponsive({ | |
5 property: 'translate', | |
6 from: 'inherit', | |
7 to: '100px 200px 300px', | |
8 configurations: [{ | |
9 state: {inherited: 'initial'}, | |
10 expect: [ | |
11 {at: 0.25, is: '25px 50px 75px'}, | |
12 {at: 0.75, is: '75px 150px 225px'}, | |
13 ], | |
14 }, { | |
15 state: {inherited: '0'}, | |
16 expect: [ | |
17 {at: 0.25, is: '25px 50px 75px'}, | |
18 {at: 0.75, is: '75px 150px 225px'}, | |
19 ], | |
20 }, { | |
21 state: {inherited: '200px 100px'}, | |
22 expect: [ | |
23 {at: 0.25, is: '175px 125px 75px'}, | |
24 {at: 0.75, is: '125px 175px 225px'}, | |
25 ], | |
26 }, { | |
27 state: {inherited: '100px 100px 100px'}, | |
28 expect: [ | |
29 {at: 0.25, is: '100px 125px 150px'}, | |
30 {at: 0.75, is: '100px 175px 250px'}, | |
31 ], | |
32 }], | |
33 }); | |
34 </script> | |
OLD | NEW |