Fyrd / caniuse

Raw browser/feature support data from caniuse.com
https://caniuse.com
Creative Commons Attribution 4.0 International
5.63k stars 1.38k forks source link

Web Animation API compatibility may be incorrect #6783

Open spmonahan opened 1 year ago

spmonahan commented 1 year ago

Hello! I think the compatibility tables for the Web Animation API may be incorrect. This is the URL I'm viewing: https://caniuse.com/?search=web%20animation%20api

There may be more issues but these are the ones I've noticed:

  1. Chrome for Android: caniuse lists version 114 as the only version that supports these APIs but the linked Chrome Platform Status pages indicate the features shipped in Chrome for Android at the same time as desktop Chrome, indicating Chrome for Android should have the same level of compatibility as desktop Chrome.
    1. element.animate()
    2. playback control
  2. Samsung Internet: caniuse indicates partial support up through v21 (as of this writing) but MDN's compatibility tables show initial support for Animation in 11 with the full API being supported in v14. I've looked through the compatibility tables on MDN and it seems that Samsung Internet has parity with Chrome by v14 of Samsung Internet so v14 onward should have support for these APIs.
    1. Animation on MDN

To confirm this data I tried using the "Test on a real browser" tab but the versions for Samsung Internet only go up to 11.1 and I need 14 according to MDN.

Of course, MDN could be wrong as well :)

How can the Web Animation compatibility table be reviewed and, if necessary, updated?

atjn commented 1 year ago

Hello :)

Here is the direct link: https://caniuse.com/web-animation

  1. caniuse only tracks the latest version of Chrome for Android. I can see that it might be misleading, but all it is saying is that the latest version is supported, and no other information is provided.

  2. Yes, that information seems to be wrong. Note 5 for iOS Safari also seems to be wrong for newer versions. You can test this with the corresponding caniuse test: https://tests.caniuse.com/web-animation - you should at least test the latest version on a phone, but if you can find a way to access older versions to verify when it received support, then that would be better.

I might have time to do this later, but I won't complain if someone else does the work :)

spmonahan commented 1 year ago

I'm looking into testing it but am not sure when it'll happen. I'll follow up if/when I get to it.

Thanks!

spmonahan commented 1 year ago

We weren't able to specify an exact version of Samsung Internet in BrowserStack for testing so we've not been able to confirm support using the tests 😢

However, the Samsung Internet release notes for 14.0.1.62 indicate it's using Chromium 87 which does have full support for WAAPI.

This probably isn't good enough for caniuse but this, along with the data from MDN satisfies my concerns 🙂

release_notes