-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Hi Tubal;
Just got the following feedback from an Autoptimize user;
I'm using @-webkit-keyframes for CSS3 animations and it seems the compressor in yui-php-
cssmin-2.4.8-3.php is doing something wrong.In line 601 it does a preg_replace to replace keyframe zero percentages, so that the optimized
code is converted from this:
0{...}
to this:
0%{...}
However, the preg_replace also replaces any zero values within the parenthesis, in my case
there's a rotate3d() like this:
0% { transform: rotate3d(0,0,1,30deg); }
This is converted to this:
0% { transform: rotate3d(0%,0%,1,30deg); }
Which is wrong, because the first three parameters are boolean values.
Would be great if you could have a look!
Kind regards,
frank