| <!DOCTYPE html> |
| <script src="resources/responsive-test.js"></script> |
| <script> |
| assertCSSResponsive({ |
| property: 'stroke-dasharray', |
| from: neutralKeyframe, |
| to: '80px', |
| configurations: [{ |
| state: {underlying: '20px, 40px'}, |
| expect: [ |
| {at: 0.25, is: '35px, 50px'}, |
| {at: 0.75, is: '65px, 70px'}, |
| ], |
| }, { |
| state: {underlying: '20px, 40px, 60px'}, |
| expect: [ |
| {at: 0.25, is: '35px, 50px, 65px'}, |
| {at: 0.75, is: '65px, 70px, 75px'}, |
| ], |
| }], |
| }); |
| |
| assertCSSResponsive({ |
| property: 'stroke-dasharray', |
| from: 'inherit', |
| to: '80px', |
| configurations: [{ |
| state: {inherited: '20px, 40px'}, |
| expect: [ |
| {at: 0.25, is: '35px, 50px'}, |
| {at: 0.75, is: '65px, 70px'}, |
| ], |
| }, { |
| state: {inherited: '20px, 40px, 60px'}, |
| expect: [ |
| {at: 0.25, is: '35px, 50px, 65px'}, |
| {at: 0.75, is: '65px, 70px, 75px'}, |
| ], |
| }], |
| }); |
| </script> |