Skip to content

Releases: web-animations/web-animations-js

Minor update

06 Jan 02:55
Compare
Choose a tag to compare
  • Fix loading the polyfill in an SVG document
  • Fix a problem where groups didn't take effect in their first frame
  • Don't rely on performance.now

Fixed critical error when using next and next-lite in Google Chrome

08 Dec 02:19
Compare
Choose a tag to compare
  • Fixed a critical bug where deprecation logic wasn't being loaded
    when web-animations-next and web-animations-next-lite were
    executed on top of a native element.animate.

Deprecate AnimationTiming.playbackRate and fix for iOS 7

03 Dec 23:56
Compare
Choose a tag to compare
  • Fix a critical bug on iOS 7 and Safari <= 6. Due to limitations,
    inline style patching is not supported on these platforms.

  • Deprecated AnimationTiming.playbackRate.

    For example, this is no longer supported:

    var player = element.animate(
        keyframes,
        {duration: 1000, playbackRate: 2});
    

    Use AnimationPlayer.playbackRate instead:

    var player = element.animate(
        keyframes,
        {duration: 1000});
    player.playbackRate = 2;
    

    If you have any feedback on this change, please start a discussion
    on the public-fx mailing list:
    http://lists.w3.org/Archives/Public/public-fx/

    Or file an issue against the specification on GitHub:
    https://github.com/w3c/web-animations/issues/new

Minor update

26 Nov 00:22
Compare
Choose a tag to compare
  • Players should be constructed in idle state
  • play() and reverse() should not force a start times
  • Add requestAnimationFrame ids and cancelAnimationFrame

First stable release from the new codebase

21 Nov 11:03
Compare
Choose a tag to compare

The web-animations-js hackers are pleased to announce the release of a new codebase for the Web Animations Polyfill:
https://github.com/web-animations/web-animations-js

The previous polyfill has been moved to:
https://github.com/web-animations/web-animations-js-legacy

The new codebase is focused on code-size -- our smallest target is now only 33kb or 11kb after gzip.

We've implemented native fallback. If the target browser provides Web Animations features natively, the Polyfill will use them.

We now provide three different build targets:

web-animations.min.js - Tracks the Web Animations features that are supported natively in browsers. Today that means Element.animate and Playback Control in Chrome. If you’re not sure what features you will need, start with this.

web-animations-next.min.js - All of web-animations.min.js plus features that are still undergoing discussion or have yet to be implemented natively.

web-animations-next-lite.min.js - A cut down version of web-animations-next, removes several lesser used property handlers and some of the larger and less used features such as matrix interpolation/decomposition.

Not all features of the previous polyfill have been ported to the new codebase; most notably mutation of Animations and Groups and Additive Animations are not yet supported. These features are still important and will be implemented in the coming weeks.