-
Notifications
You must be signed in to change notification settings - Fork 250
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
Vendor-keyframes get useless vendor-properties #229
Comments
Good catch... I still need to reproduce this once I get back home, but that looks like something that will be an easy fix. |
The keyframes prefixes are actually set with Stylus directly (http://learnboost.github.io/stylus/docs/keyframes.html), but yes, that's a bummer, and it creates keyframes for -ms- and -o- which never need the prefixes (event if the doc show only -webkit- and -moz-) and -moz- is pretty useless now since it was supported only 10 version ago (http://caniuse.com/#search=css3%20animation). |
We should get this fixed. This would greatly impact the output size for nzAnimate http://github.com/nozzle/nzAnimate. Is this a stylus bug or a nib bug? |
Here is a fix:
This should stop stylus from creating vendor prefixes and leave it up to nib. Maybe nib could include that fix? Could it hurt? |
I closed this with a workaround. |
A simple animation:
...generates keyframes with tons of useless properties
@-moz-keyframes
should only have-moz-transform
as property. etc.The text was updated successfully, but these errors were encountered: