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

Use external CSS file to support keyframe animations with strict content security policy #347

Merged
merged 1 commit into from
May 6, 2018

Conversation

theodorejb
Copy link
Collaborator

Adds a new animation option to choose a CSS animation name, and removes the opacity and trail options. There is now a spin.css file that can be included to use one of the preset animations.

Since IE 9 doesn't support keyframe animations, this pull request drops support for it, and also removes the fps option which was only used for IE 9.

Fixes #106, closes #215.

@theodorejb
Copy link
Collaborator Author

theodorejb commented Dec 11, 2017

The only serious blocker I know of is that Microsoft Edge doesn't use the correct duration for fading out the spinner lines. I filed an issue for this here: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/14931071/.

…ent security policy

Added a new `animation` option to choose a CSS animation name, and removed the `opacity` and `trail` options.

IE 9 is no longer supported, so the legacy `fps` option has also been removed.
@theodorejb
Copy link
Collaborator Author

theodorejb commented May 6, 2018

The Microsoft Edge bug is fixed in the Windows 10 April 2018 update (version 1803), so there's nothing blocking this anymore.

@theodorejb theodorejb merged commit 4fed6ee into master May 6, 2018
@theodorejb theodorejb deleted the v4 branch May 6, 2018 04:58
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.

High CPU load on Firefox and IE Spinner freezes while a page is loading.
1 participant