Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Fix some minification errors related to zero value replacements #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lastikas
Copy link

@lastikas lastikas commented Aug 2, 2016

Taking the following CSS
@Keyframe anim {
0% { opacity: 0; }
100% { opacity: 1; }
}
The output will be incorrectly rewritten to:
@Keyframe anim {
0 { opacity: 0; }
100% { opacity: 1; }
}

This fix was introduced to YUI in pull request #231. I simply applied it to this port

For more information please visit: yui/yuicompressor#231 (comment)

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

Successfully merging this pull request may close these issues.

None yet

1 participant