-
Notifications
You must be signed in to change notification settings - Fork 34
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
cssmin broke rule for firefox 27.0.1 #14
Comments
-$css = preg_replace('/(^|[^0-9])(?:0?.)?0(?:em|ex|ch|rem|vw|vh|vm|vmin|cm|mm|in|px|pt|pc|%|deg|g?rad|m?s|k?hz)/iS', '${1}0', $css); |
I've already fixed this. I'll release a new version this weekend. Thank you for your report! |
Fixed in v2.4.8-3 |
This regexp:
$css = preg_replace('/(^|[^0-9])(?:0?.)?0(?:em|ex|ch|rem|vw|vh|vm|vmin|cm|mm|in|px|pt|pc|%|deg|g?rad|m?s|k?hz)/iS', '$ {1}0', $css);
remove "s" in "0s"
CSSmin transform this css:
page_scroll {
display:block;
font-style:normal;
position:relative;
transition:margin 0.2s ease 0s;
-moz-transition:margin 0.2s ease 0s;
-webkit-transition:margin 0.2s ease 0s;
-o-transition:margin 0.2s ease 0s;
width:36000px;
}
to that:
page_scroll{display:block;font-style:normal;position:relative;transition:margin .2s ease 0;-moz-transition:margin .2s ease 0;-webkit-transition:margin .2s ease 0;-o-transition:margin .2s ease 0;width:36000px}
, but must me that for work in firefox 27.0.1:
page_scroll{display:block;font-style:normal;position:relative;transition:margin .2s ease 0s;-moz-transition:margin .2s ease 0s;-webkit-transition:margin .2s ease 0s;-o-transition:margin .2s ease 0s;width:36000px}
The text was updated successfully, but these errors were encountered: