Open GoogleCodeExporter opened 9 years ago
Fixed patch for @-o-keyframes.
Original comment by audvare
on 19 Jan 2012 at 3:19
Attachments:
Please apply this patch. Without it, we are unable to minify the Bootstrap
framework.
Original comment by ian...@gmail.com
on 28 May 2012 at 11:45
This also breaks firefox css parser. The patch works like a charm.
Original comment by colinda...@gmail.com
on 13 Jun 2012 at 1:36
Found this via Issue #66 - thanks to both for reporting and providing fixes. I
too am having trouble using CSS Min w/ Twitter's Bootstrap
Original comment by auldrid...@gmail.com
on 28 Feb 2013 at 3:04
@-ms-keyframes and @-o-keyframes are not considered valid at-rules.
Add this code in class CssAtKeyframesParserPlugin, function parse, near line
4560:
// Start of @keyframes at-rule block (@-ms-keyframes)
elseif ($char === "@" && $state === "T_DOCUMENT" && strtolower(substr($this->parser->getSource(), $index, 14)) === "@-ms-keyframes")
{
$this->atRuleName = "-ms-keyframes";
$this->parser->pushState("T_AT_KEYFRAMES::NAME");
$this->parser->clearBuffer();
return $index + 14;
}
// Start of @keyframes at-rule block (@-o-keyframes)
elseif ($char === "@" && $state === "T_DOCUMENT" && strtolower(substr($this->parser->getSource(), $index, 13)) === "@-o-keyframes")
{
$this->atRuleName = "-o-keyframes";
$this->parser->pushState("T_AT_KEYFRAMES::NAME");
$this->parser->clearBuffer();
return $index + 13;
}
Original comment by oderfla...@gmail.com
on 11 Feb 2015 at 4:06
Original issue reported on code.google.com by
audvare
on 19 Jan 2012 at 3:01Attachments: