manish143143 / cssmin

Automatically exported from code.google.com/p/cssmin
0 stars 0 forks source link

CSS Formatters ignore vendor prefixes for @keyframes #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of CssMin are you using (source and/or build)?
3.0.1

What was the input stylesheet and/or configuration options?
@keyframes rotateThis {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
using CssWhitesmithsFormatter or CssOtbsFormatter
and enabling ConvertLevel3AtKeyframes

What is the expected result?
@keyframes, @-moz-keyframes and @-webkit-keyframes sections to be included in 
the output

And what is the actual result and/or error message?
@keyframes section is repeated three times

Please provide any additional information below.
 CssOtbsFormatter.php line 51 and CssWhitesmithsFormatter.php line 52 both hardcode "@keyframes".
Changing this to "@".$token->AtRuleName returns the expected result.

Original issue reported on code.google.com by l...@lukeblaney.co.uk on 11 Nov 2011 at 11:22

GoogleCodeExporter commented 9 years ago
Thanks for reporting.

Original comment by joe.scylla on 16 Nov 2011 at 11:13