lupuswwww / cssmin

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

@-o-keyframes and @-ms-keyframes have no closing } #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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?
@-moz-keyframes rotation {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-o-keyframes rotation {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

$Filters => array(
    "ImportImports"                 => false,
    "RemoveComments"                => true,
    "RemoveEmptyRulesets"           => true,
    "RemoveEmptyAtBlocks"           => false,
    "ConvertLevel3AtKeyframes"      => false,
    "ConvertLevel3Properties"       => false,
    "Variables"                     => false,
    "RemoveLastDelarationSemiColon" => true,
    "SortRulesetProperties"         => false
);
$Plugins => array(
    "Variables"                     => false,
    "ConvertFontWeight"             => false,
    "ConvertHslColors"              => false,
    "ConvertRgbColors"              => false,
    "ConvertNamedColors"            => true,
    "CompressColorValues"           => false,
    "CompressUnitValues"            => false,
    "CompressExpressionValues"      => false
);

What is the expected result?
working css

And what is the actual result and/or error message?

@-moz-keyframes rotation {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-o-keyframes rotation {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

Note missing closing bracket in @-o-keyframes rotation 

Please provide any additional information below.
This issue happens for @-o-keyframes and @-ms-keyframes
Others are ok: @keyframes, @-webkit-keyframes, @-moz-keyframes

Original issue reported on code.google.com by swaya...@gmail.com on 21 Aug 2013 at 12:28

GoogleCodeExporter commented 8 years ago
And yes, I know that @-o-keyframes and @-ms-keyframes are overkill but who 
knows how opera will add keyframes. 
All those prefixes are pain in the ass...

Original comment by swaya...@gmail.com on 21 Aug 2013 at 12:38