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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Force Web Animations polyfill on Safari #27773

Merged
merged 2 commits into from Apr 15, 2020

Conversation

alanorozco
Copy link
Member

@alanorozco alanorozco commented Apr 15, 2020

Native Web Animations on WebKit do not respect easing for individual keyframes and break overall timing.

Fixes #27762 as a workaround for https://bugs.webkit.org/show_bug.cgi?id=210526

This was the only technique I could find that forces the polyfill across multiple checks. Alternatives tried:

  1. Setting a global boolean to short-circuit a particular condition.
  2. delete win.Element.prototype.animate
  3. delete win.document.documentElement.animate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

amp-animation & friends use incorrect keyframe easings on Safari 13.1
4 participants