| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <style> | 3 <style> |
| 4 .parent { | 4 .parent { |
| 5 position: relative; | 5 position: relative; |
| 6 display: inline-block; | 6 display: inline-block; |
| 7 height: 10px; | 7 height: 10px; |
| 8 margin: 0px; | 8 margin: 0px; |
| 9 } | 9 } |
| 10 .target { | 10 .target { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 <script src="resources/interpolation-test.js"></script> | 27 <script src="resources/interpolation-test.js"></script> |
| 28 <script> | 28 <script> |
| 29 assertNoInterpolation({ | 29 assertNoInterpolation({ |
| 30 property: 'position', | 30 property: 'position', |
| 31 from: 'absolute', | 31 from: 'absolute', |
| 32 to: 'static', | 32 to: 'static', |
| 33 }); | 33 }); |
| 34 | 34 |
| 35 assertInterpolation({ | 35 assertInterpolation({ |
| 36 property: 'position', | 36 property: 'position', |
| 37 from: '', | 37 from: neutralKeyframe, |
| 38 to: 'absolute', | 38 to: 'absolute', |
| 39 method: 'CSS Animations', | 39 method: 'CSS Animations', |
| 40 }, [ | 40 }, [ |
| 41 {at: -1, is: 'static'}, | 41 {at: -1, is: 'static'}, |
| 42 {at: 0, is: 'static'}, | 42 {at: 0, is: 'static'}, |
| 43 {at: 0.25, is: 'static'}, | 43 {at: 0.25, is: 'static'}, |
| 44 {at: 0.5, is: 'absolute'}, | 44 {at: 0.5, is: 'absolute'}, |
| 45 {at: 0.75, is: 'absolute'}, | 45 {at: 0.75, is: 'absolute'}, |
| 46 {at: 1, is: 'absolute'}, | 46 {at: 1, is: 'absolute'}, |
| 47 {at: 2, is: 'absolute'}, | 47 {at: 2, is: 'absolute'}, |
| 48 ]); | 48 ]); |
| 49 </script> | 49 </script> |
| 50 </body> | 50 </body> |
| OLD | NEW |