bcc: polymer-announce On Wed, Apr 23, 2014 at 11:10 AM, Douglas Stockwell <[email protected] > wrote:
> If you do not use the latest Web Animations polyfill you can stop reading. > > The default unit for time values in the Web Animations API has changed > from seconds to milliseconds. > > The change was merged > here<https://github.com/web-animations/web-animations-js/commit/a944609a9a1576b38ca3d3e92ebe4c9cf3028ffc>. > If you wish to delay migration, do not advance beyond this > commit<https://github.com/web-animations/web-animations-js/commit/f4997aa752ab75e4d21beede738b94fec69964e3> > . > > Where you previously used: > element.animate(keyframes, {duration: 1}); > > You must now use: > element.animate(keyframes, {duration: 1000}); > > The same applies to all time related properties: duration, delay, > endDelay, currentTime, etc. > > This issue was raised on > blink-dev<https://groups.google.com/a/chromium.org/d/msg/blink-dev/SWxBI0uPvUE/iZCNwoN3nKEJ>and > discussed further on > public-fx<http://lists.w3.org/Archives/Public/public-fx/2014AprJun/0014.html>. > The specification has been updated to reflect this change. If you have any > further feedback on this change, please join the discussion on public-fx. > If you encounter any issues in the polyfill relating to this change please > file issues on > github<https://github.com/web-animations/web-animations-js/issues> > . > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAMs_2YWAp3SUqL%3D5pegO70aHL1vZZ_G%3DXVAg89V55rE3cb1DXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
