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.
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 and discussed further on
public-fx. 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.