google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

CSSMin breaks on property values containing semicolons #771

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When properties contain semicolons (happens for example in data: urls), CSSMin 
splits it into two properties and complains about an "Incomplete property"

Here is an example (from jquery-ui) triggering this issue:

.ui-menu .ui-menu-item {
 list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

Original issue reported on code.google.com by bfd.ma...@gmail.com on 12 Aug 2013 at 3:29

GoogleCodeExporter commented 9 years ago
The CssMinProcessor has several known issues and is not recommended to be used. 
The implementation of this processor has been borrowed from an external library 
which is no longer maintained. Instead, prefer something like jawrCssMin or 
YuiCssMin, which are more stable and bug free.

I will keep this issue opened in case there will be some activity on CssMin 
third party library, or if there is a contribution for this issue.

Original comment by alex.obj...@gmail.com on 18 Aug 2013 at 10:40