Letractively / wro4j

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

Problems with media queries on most css compressors or minifiers in wro4j #797

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to pack latest html5 boilerplate 
(https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css)

What is the expected output? What do you see instead?

On YuiCssMin it has problems with (-o-min-device-pixel-ratio: 5/4),
https://github.com/yui/yuicompressor/pull/45?source=cc

On cssCompressor the @media only screen and (min-width: 35em) 
will remove the space so it will end up like: @media only screen and(min-width: 
35em) and that selector is not valid.

cssMinJawr: Seems to work so far, will put it out on our staging server to try 
it out . Dont pack as good as the other ones.

It would be nice to se on the 
https://code.google.com/p/wro4j/wiki/AvailableProcessors page what versions is 
used for each implementation.

What version of the product are you using? On what operating system?
1.7.1

Thank you

Best regards Andreas

Original issue reported on code.google.com by andr...@weightpoint.se on 4 Oct 2013 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 4 Oct 2013 at 2:05