zhanjh / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Short hand CSS is split onto a separate line #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify commit/version: 2.1.3
PHP version: 5.2.17

Using CSS short hands such as margin: 1em 5em 20px 20px; results in a new line 
being created after the first part.

Expected output:
html,body{height:100%}body{background-color:#F9F9F9;margin:1em 5em 20px 
20px}.content{padding:1em 
2em}.container{min-height:100%;background-color:#FFF;margin:0 
auto;max-width:1000px}

Actual output:
html,body{height:100%}body{background-color:#F9F9F9;margin:1em
5em 20px 20px}.content{padding:1em
2em}.container{min-height:100%;background-color:#FFF;margin:0
auto;max-width:1000px}

Original issue reported on code.google.com by ultradude25 on 16 Feb 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Intentional behavior that does not add bytes to the output. See the FAQ section 
about line breaks. Thanks for taking the time to report this though. 

Original comment by mrclay....@gmail.com on 17 Feb 2012 at 12:10

GoogleCodeExporter commented 9 years ago
Ah, sorry I missed that.

Original comment by ultradude25 on 28 Feb 2012 at 9:25