jianlinwei / cssmin

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

Incorrect minification of declaration values in @font-face block with comma seperated properties #38

Closed GoogleCodeExporter closed 9 years ago

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

What was the input stylesheet and/or configuration options?
@font-face 
    {
    font-family: "MyFont";
    src: url("webfont.eot");
    src: url("webfont.eot?#iefix") format("embedded-opentype"),
        url("webfont.woff") format("woff"),
        url("webfont.ttf") format("truetype"),
        url("webfont.svg#MyFont") format("svg");
    font-weight: normal;
    font-style: normal;
    }

What is the expected result?
@font-face{font-family:"MyFont";src:url("webfont.eot");src:url("webfont.eot?#ief
ix") format("embedded-opentype"),url("webfont.woff") 
format("woff"),url("webfont.ttf") format("truetype"),url("webfont.svg#MyFont") 
format("svg");font-weight:400;font-style:normal}

And what is the actual result and/or error message?
@font-face{font-family:"MyFont";src:url("webfont.eot");src:url("webfont.eot?#ief
ix") format("embedded-opentype"),
url("webfont.woff") format("woff"),
url("webfont.ttf") format("truetype"),
url("webfont.svg#MyFont") format("svg");font-weight:400;font-style:normal}

Original issue reported on code.google.com by joe.scylla on 13 Jul 2011 at 8:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in Version 3.0.1 (Revision #163)

Original comment by joe.scylla on 19 Aug 2011 at 10:25