OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
3 <body> | 3 <body> |
4 <script src="resources/interpolation-test.js"></script> | 4 <script src="resources/interpolation-test.js"></script> |
5 <script> | 5 <script> |
6 assertInterpolation({ | 6 assertInterpolation({ |
7 property: 'shape-outside', | 7 property: 'shape-outside', |
8 from: 'rectangle(0px, 0px, 100px, 100px)', | 8 from: 'rectangle(0px, 0px, 100px, 100px)', |
9 to: 'rectangle(25px, 25px, 50px, 50px)' | 9 to: 'rectangle(25px, 25px, 50px, 50px)' |
10 }, [ | 10 }, [ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 {at: 1.5, is: 'ellipse(100% 100% at 0% 0%)'} | 94 {at: 1.5, is: 'ellipse(100% 100% at 0% 0%)'} |
95 ]); | 95 ]); |
96 | 96 |
97 // TODO: add intermediate keyframe tests when CSS shapes position computed value
s are cleaned up | 97 // TODO: add intermediate keyframe tests when CSS shapes position computed value
s are cleaned up |
98 assertInterpolation({ | 98 assertInterpolation({ |
99 property: 'shape-outside', | 99 property: 'shape-outside', |
100 from: 'circle(20% at right 10% bottom 20px)', | 100 from: 'circle(20% at right 10% bottom 20px)', |
101 to: 'circle(30% at right 20% bottom 30px)', | 101 to: 'circle(30% at right 20% bottom 30px)', |
102 }, [ | 102 }, [ |
103 {at: 0, is: 'circle(20% at right 10% bottom 20px)'}, | 103 {at: 0, is: 'circle(20% at right 10% bottom 20px)'}, |
104 {at: 0.5, is: 'circle(25% at right 15% bottom 25px)'}, | 104 {at: 0.5, is: 'circle(25% at left 85% bottom 25px)'}, |
105 {at: 1, is: 'circle(30% at right 20% bottom 30px)'}, | 105 {at: 1, is: 'circle(30% at right 20% bottom 30px)'}, |
106 ]); | 106 ]); |
107 </script> | 107 </script> |
108 </body> | 108 </body> |
OLD | NEW |