-
Notifications
You must be signed in to change notification settings - Fork 323
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
Buggy font shorthand #149
Comments
* It does not offer optimal minification by not handling 'font:normal normal normal <size> <font-family' case. * Will be further improved to support mentioned case.
So basically, |
It is unless all optional values are given, e.g. font: bold normal normal 13px Arial;
|
Cool, tnx guys! |
Sure, anytime! PR for clean-css-brunch is here: brunch/clean-css-brunch#6 |
There is an issue with how clean-css "interprets" the short hand css font property still. font: 11px/normal sans-serif; got converted to font: 11px/400 sans-serif; setting shorthandCompacting: false had no effect either. |
@GoalSmashers @jakubpawlowicz: the font minification should take into account the case where |
I can't see this error happening in any of the latest 3.x branches. Which version do you use, @smschrader? |
Indeed, I can confirm this doesn't happen with the latest version. |
@jakubpawlowicz I'm using gulp-minify-css which is at "version": "1.1.6" Which has a dependency of clean-css "clean-css": "^3.3.1" My current version of clean-css in the build is "version": "3.3.6" |
So that's the latest version and it should be OK. I wonder if there's anything else in your gulp chain that is breaking it. |
See discussion in #134.
The text was updated successfully, but these errors were encountered: