manish143143 / cssmin

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

background no-repeat breaks IE8/7 #54

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?
background: url( 'https://path/image.png' ) no-repeat;

What is the expected result?
background: url('https://path/image.png') no-repeat;

And what is the actual result and/or error message?
background: url( 'https://path/image.png' )no-repeat;

Please provide any additional information below.
The close parens adjacent to the no-repeat breaks in IE8/7, which ignore the 
rule completely.

Original issue reported on code.google.com by nyoun...@gmail.com on 21 Feb 2012 at 4:45

GoogleCodeExporter commented 8 years ago
Same issue for various background options, such as repeat-x, repeat-y.

Original comment by nyoun...@gmail.com on 21 Feb 2012 at 10:49

GoogleCodeExporter commented 8 years ago
Wow, I knew IE was touchy, but this is takes the cake. Thanks for giving me the 
info to solve a big problem. I had to look twice at my text editor to notice 
that there was no space between the parenthesis and no-repeat. No I'll have to 
go through the rest of my code to verify that spaces are in all my backgrounds. 
Thanks MS!

Original comment by PaulHSV2...@gmail.com on 29 Jun 2012 at 2:55