-
Notifications
You must be signed in to change notification settings - Fork 81
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
Remove unneeded #1
Comments
You forget that it is sometimes necessary to have multiple declarations for fallback purposes. a {
color: red; /* for IE8- which doesn't support rgba */
color: rgba(255, 0, 0, 0.5); /* for others */
} |
It is not that simple. Consider this for example:
This is a test page for the above |
Agreed. Perhaps one possibility is deal only with the "simpler" cases. If values result in the same outcome. eg. |
Firstly, I'd like to commend you on creating this useful tool.
I did however notice some possible optimizations. For example, when I have multiple declarations of the same type, it should be possible to remove the previous declarations?
Also, if multiple overriding declarations of the same type exists, only the last one need to stay?
The text was updated successfully, but these errors were encountered: