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 }, { | |
Eric Willigers
2016/02/17 07:15:50
Perhaps add a test with inherited: '200px 100px'
alancutter (OOO until 2018)
2016/02/17 23:50:22
Done.
| |
21 state: {inherited: '100px 100px 100px'}, | |
22 expect: [ | |
23 {at: 0.25, is: '100px 125px 150px'}, | |
24 {at: 0.75, is: '100px 175px 250px'}, | |
25 ], | |
26 }], | |
27 }); | |
28 </script> | |
OLD | NEW |