Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't store Javascript functions on AnimationEffectTiming.easing or keyframe.easing #423

Merged
merged 2 commits into from
Apr 5, 2016
Merged

Conversation

alancutter
Copy link
Contributor

There are places in the code where we use AnimationEffectTiming as input to KeyframeEffect, it should conform to the specified interface where easing is a string.
http://w3c.github.io/web-animations/#the-animationeffecttiming-interface

This change is a pre-fix for when toTimingFunction() will throw a TypeError on invalid easing input and break most of our group tests.

@alancutter
Copy link
Contributor Author

Confirmed that updating the Google IO 2016 site to use this version of the polyfill no longer hits the TypeError in a build of Chrome that TypeErrors on invalid easings.
Was not able to confirm with Firefox Nightly as it hits "NotSupportedError: Animation with a target not bound to a document is not yet supported." on some of the newer parts of the polyfill.

@dstoc
Copy link
Contributor

dstoc commented Apr 5, 2016

lgtm

@dstoc dstoc merged commit 3ee1ec5 into web-animations:master Apr 5, 2016
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
alancutter added a commit to alancutter/web-animations-codelabs that referenced this pull request Oct 18, 2016
Update web-animations-js version to include the [fix for TypeErrors when using groups](web-animations/web-animations-next#423).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants