OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <script src="resources/responsive-test.js"></script> | |
3 <script> | |
4 assertCSSResponsive({ | |
5 property: 'border-image-slice', | |
6 from: neutralKeyframe, | |
7 to: '110 120%', | |
8 configurations: [{ | |
9 state: {underlying: '10 20%'}, | |
10 expect: [ | |
11 {at: 0.25, is: '35 45%'}, | |
12 {at: 0.75, is: '85 95%'}, | |
13 ], | |
14 }, { | |
15 state: {underlying: '10 20% fill'}, | |
16 expect: [ | |
17 {at: 0.25, is: '10 20% fill'}, | |
18 {at: 0.75, is: '110 120%'}, | |
19 ], | |
20 }, { | |
21 state: {underlying: '10% 20'}, | |
22 expect: [ | |
23 {at: 0.25, is: '10% 20'}, | |
24 {at: 0.75, is: '110 120%'}, | |
25 ], | |
26 }], | |
27 }); | |
28 | |
29 assertCSSResponsive({ | |
30 property: 'border-image-slice', | |
31 from: 'inherit', | |
32 to: '110 120% fill', | |
33 configurations: [{ | |
34 state: {inherited: '10 20% fill'}, | |
35 expect: [ | |
36 {at: 0.25, is: '35 45% fill'}, | |
37 {at: 0.75, is: '85 95% fill'}, | |
38 ], | |
39 }, { | |
40 state: {inherited: '10% 20 fill'}, | |
41 expect: [ | |
42 {at: 0.25, is: '10% 20 fill'}, | |
43 {at: 0.75, is: '110 120% fill'}, | |
44 ], | |
45 }, { | |
46 state: {inherited: '10 20%'}, | |
47 expect: [ | |
48 {at: 0.25, is: '10 20%'}, | |
49 {at: 0.75, is: '110 120% fill'}, | |
50 ], | |
51 }], | |
52 }); | |
53 </script> | |
OLD | NEW |