| OLD | NEW |
| 1 ### 2.2.0 - *April 6 2016* |
| 2 * Deprecated the use of hyphens in property names. |
| 3 |
| 4 For example, this is deprecated: |
| 5 |
| 6 element.animate([{'font-size': '0px'}, {'font-size': '10px'}]); |
| 7 |
| 8 and this should be used instead: |
| 9 |
| 10 element.animate([{fontSize: '0px'}, {fontSize: '10px'}]); |
| 11 |
| 12 * Added arbitrary easing capitalisation. |
| 13 |
| 14 * Added "id" effect option. (http://w3c.github.io/web-animations/#dom-keyframe
animationoptions-id) |
| 15 |
| 16 * Added "oncancel" event handler. |
| 17 |
| 18 * Added value list keyframe syntax. |
| 19 |
| 20 As as alternative to: |
| 21 |
| 22 element.animate([{color: 'red'}, {color: 'green'}, {color: 'blue'}]); |
| 23 |
| 24 you can now use: |
| 25 |
| 26 element.animate({color: ['red', 'green', 'blue']}); |
| 27 |
| 28 * Fixed easing TypeError in FireFox Nightly when using groups. |
| 29 |
| 30 * Fixed delayed animation updates on Safari and Firefox |
| 31 |
| 32 * Fixed infinite recursion when setting onfinish to null. |
| 33 |
| 34 ### 2.1.4 - *December 1 2015* |
| 35 * Use `Date.now()` instead of `performace.now()` for mobile Safari. |
| 36 |
| 37 ### 2.1.3 - *October 12 2015* |
| 38 * Removed web-animations.min.js.gz |
| 39 |
| 1 ### 2.1.2 - *July 8 2015* | 40 ### 2.1.2 - *July 8 2015* |
| 2 * Fix a bug where onfinish was being called for GroupEffects before they were
finished. | 41 * Fix a bug where onfinish was being called for GroupEffects before they were
finished. |
| 3 | 42 |
| 4 ### 2.1.1 - *July 1 2015* | 43 ### 2.1.1 - *July 1 2015* |
| 5 * Add Animation.timeline getter | 44 * Add Animation.timeline getter |
| 6 * Add AnimationEffect.parent getter | 45 * Add AnimationEffect.parent getter |
| 7 * Make AnimationEffectTiming (returned by AnimationEffect.timing) attributes m
utable | 46 * Make AnimationEffectTiming (returned by AnimationEffect.timing) attributes m
utable |
| 8 * Expose the Animation constructor | 47 * Expose the Animation constructor |
| 9 * Change custom effects from AnimationEffects to onsample functions. Custom ef
fects should now be created by setting the onsample attribute of a KeyframeEffec
t. | 48 * Change custom effects from AnimationEffects to onsample functions. Custom ef
fects should now be created by setting the onsample attribute of a KeyframeEffec
t. |
| 10 | 49 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 176 |
| 138 `web-animations-next-lite.min.js` - A cut down version of | 177 `web-animations-next-lite.min.js` - A cut down version of |
| 139 web-animations-next, removes several lesser used property handlers | 178 web-animations-next, removes several lesser used property handlers |
| 140 and some of the larger and less used features such as matrix | 179 and some of the larger and less used features such as matrix |
| 141 interpolation/decomposition. | 180 interpolation/decomposition. |
| 142 | 181 |
| 143 Not all features of the previous polyfill have been ported to the | 182 Not all features of the previous polyfill have been ported to the |
| 144 new codebase; most notably mutation of Animations and Groups and | 183 new codebase; most notably mutation of Animations and Groups and |
| 145 Additive Animations are not yet supported. These features are still | 184 Additive Animations are not yet supported. These features are still |
| 146 important and will be implemented in the coming weeks. | 185 important and will be implemented in the coming weeks. |
| OLD | NEW |