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: 'box-shadow', | 5 property: 'box-shadow', |
6 from: 'green 20px 20px 20px 20px', | 6 from: 'green 20px 20px 20px 20px', |
7 to: 'inherit', | 7 to: 'inherit', |
8 configurations: [{ | 8 configurations: [{ |
9 state: {inherited: 'blue 0px 0px 0px 0px'}, | 9 state: {inherited: 'blue 0px 0px 0px 0px'}, |
10 expect: [ | 10 expect: [ |
(...skipping 21 matching lines...) Expand all Loading... |
32 ], | 32 ], |
33 }, { | 33 }, { |
34 state: {inherited: 'yellow 100px 100px 100px 100px'}, | 34 state: {inherited: 'yellow 100px 100px 100px 100px'}, |
35 expect: [ | 35 expect: [ |
36 {at: 0.25, is: 'rgb(191, 223, 0) 80px 80px 80px 80px'}, | 36 {at: 0.25, is: 'rgb(191, 223, 0) 80px 80px 80px 80px'}, |
37 {at: 0.75, is: 'rgb(64, 160, 0) 40px 40px 40px 40px'}, | 37 {at: 0.75, is: 'rgb(64, 160, 0) 40px 40px 40px 40px'}, |
38 ], | 38 ], |
39 }], | 39 }], |
40 }); | 40 }); |
41 </script> | 41 </script> |
OLD | NEW |