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

Update support data for Animation and KeyframeEffect #6528

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

foolip
Copy link
Contributor

@foolip foolip commented Aug 18, 2020

The AnimationEffect data is already good, but Animation's effect
attribute and KeyframeEffect with constructor and target attribute
weren't updated.

These changes landed together in Chromium M75:
https://chromium-review.googlesource.com/c/chromium/src/+/1564568

The Animation and KeyframeEffect interfaces were verified to not exist
in Edge 18, so the Edge version was set/updated to "75". These data
points support this as well:
https://caniuse.com/#feat=web-animation
https://developer.microsoft.com/en-us/microsoft-edge/status/webanimationsjavascriptapi/

@ghost ghost added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 18, 2020
@foolip
Copy link
Contributor Author

foolip commented Aug 18, 2020

Note that only Chrome on Windows has been tested. The fact that the controlling flags are dropped in https://chromium-review.googlesource.com/c/chromium/src/+/1564568 is used to assume that this is in all browsers based on Chromium M75 or later, since extra work would be needed to disable it.

api/Animation.json Outdated Show resolved Hide resolved
@foolip
Copy link
Contributor Author

foolip commented Aug 18, 2020

@vinyldarkscratch can you review this?

@queengooborg queengooborg self-requested a review August 19, 2020 06:24
Copy link
Contributor

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me, thanks! Regarding the Edge version, I think it makes sense to set the version to just 79 since we have already verified it wasn't present in the previous version (18)? (This applies to KeyframeEffect as well, if we want to update those versions here?)

The AnimationEffect data is already good, but Animation's effect
attribute and KeyframeEffect with constructor and target attribute
weren't updated.

These changes landed together in Chromium M75:
https://chromium-review.googlesource.com/c/chromium/src/+/1564568

The Animation and KeyframeEffect interfaces were verified to not exist
in Edge 18, so the Edge version was set/updated to "75". These data
points support this as well:
https://caniuse.com/#feat=web-animation
https://developer.microsoft.com/en-us/microsoft-edge/status/webanimationsjavascriptapi/
@foolip foolip force-pushed the chrome-75-animation branch from bcd1a30 to ec93b69 Compare August 19, 2020 09:22
@foolip foolip changed the title Update support data for AnimationEffect and KeyframeEffect Update support data for Animation and KeyframeEffect Aug 19, 2020
@foolip
Copy link
Contributor Author

foolip commented Aug 19, 2020

Thanks @vinyldarkscratch! I've made those changes and updated the description.

@ddbeck ddbeck requested a review from queengooborg August 19, 2020 13:51
api/Animation.json Show resolved Hide resolved
Copy link
Contributor

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks all good to me! 👍

@queengooborg queengooborg merged commit b65c7ab into mdn:master Aug 20, 2020
@foolip foolip deleted the chrome-75-animation branch August 20, 2020 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants