web-animations / web-animations-js

JavaScript implementation of the Web Animations API
http://web-animations.github.io
Apache License 2.0
3.77k stars 408 forks source link

getAnimations not returning css animations #183

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm trying to work with css defined animations in javascript with getAnimations(). It's working natively in chrome, but the polyfill is returning an empty array.

I'd like to confirm if this is not supported yet. If not, are there any plans to add support? Is there any good way to polyfill this or would it involve hacking to parse stylesheets etc?

CodeWithOz commented 2 years ago

@DominicBarnard did you get any solution to this? I'm trying to add web animations support for earlier versions of ios 13 that lack getAnimations() (it was added in ios 13.4).

CodeWithOz commented 2 years ago

For anyone else looking for a polyfill that solves this problem, I found one here. Issue described in #237 .