OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <script src="resources/responsive-test.js"></script> | |
3 <script> | |
4 assertCSSResponsive({ | |
5 targetTag: 'path', | |
6 property: 'd', | |
7 from: "inherit", | |
8 to: "path('M 10 20 H 30')", | |
9 configurations: [{ | |
10 state: {inherited: "path('M 90 60 H 34')"}, | |
11 expect: [ | |
12 {at: 0.25, is: "path('M 70 50 H 33')"}, | |
13 {at: 0.75, is: "path('M 30 30 H 31')"}, | |
14 ], | |
15 }, { | |
16 state: {inherited: "path('M 6 0 H 70')"}, | |
17 expect: [ | |
18 {at: 0.25, is: "path('M 7 5 H 60')"}, | |
19 {at: 0.75, is: "path('M 9 15 H 40')"}, | |
20 ], | |
21 }, { | |
22 state: {inherited: "none"}, | |
23 expect: [ | |
24 {at: 0.25, is: "none"}, | |
25 {at: 0.75, is: "path('M 10 20 H 30')"}, | |
26 ], | |
27 }], | |
28 }); | |
29 </script> | |
OLD | NEW |