| 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 assertResponsive({ | 4 assertResponsive({ |
| 5 property: 'background-image', | 5 property: 'background-image', |
| 6 from: '', | |
| 7 to: 'url("test://to")', | 6 to: 'url("test://to")', |
| 8 configurations: [{ | 7 configurations: [{ |
| 9 state: {underlying: 'url("test://a")'}, | 8 state: {underlying: 'url("test://a")'}, |
| 10 expect: [ | 9 expect: [ |
| 11 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25
)'}, | 10 {at: 0.25, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.25
)'}, |
| 12 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75
)'}, | 11 {at: 0.75, is: '-webkit-cross-fade(url("test://a"), url("test://to"), 0.75
)'}, |
| 13 ], | 12 ], |
| 14 }, { | 13 }, { |
| 15 state: {underlying: 'url("test://b"), url("test://c")'}, | 14 state: {underlying: 'url("test://b"), url("test://c")'}, |
| 16 expect: [ | 15 expect: [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 44 ], | 43 ], |
| 45 }, { | 44 }, { |
| 46 state: {inherited: 'none'}, | 45 state: {inherited: 'none'}, |
| 47 expect: [ | 46 expect: [ |
| 48 {at: 0.25, is: 'none'}, | 47 {at: 0.25, is: 'none'}, |
| 49 {at: 0.75, is: 'url("test://to")'}, | 48 {at: 0.75, is: 'url("test://to")'}, |
| 50 ], | 49 ], |
| 51 }], | 50 }], |
| 52 }); | 51 }); |
| 53 </script> | 52 </script> |
| OLD | NEW |