codenothing / css-compressor

CSS Compressor
http://www.codenothing.com/css-compressor/
MIT License
42 stars 4 forks source link

problem with ";" #3

Closed chemix closed 13 years ago

chemix commented 13 years ago

i try this code with "Sane" compression

.test {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

and get

.test {
    border-radius: 4px-webkit-border-top-left-radius:4px-moz-border-radius-topleft:4px;
    -webkit-border-top-right-radius: 4px-moz-border-radius-topleft:4px;
    -webkit-border-bottom-right-radius: 4px-moz-border-radius-topleft:4px;
    -webkit-border-bottom-left-radius: 4px-moz-border-radius-topleft:4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px
}
codenothing commented 13 years ago

Been confirmed, patch currently being worked on. This does affect any rule set that uses multiple border-radius definitions.

Quick Fixes: Use 'Safe' mode, or open up custom options, and turn off 'border-radius-combine' option.

codenothing commented 13 years ago

Patch committed: https://github.com/codenothing/css-compressor/commit/2b93933e53cca2cd9f47b7a1adc655b87faeb075

chemix commented 13 years ago

(thumb-up)

codenothing commented 13 years ago

awesome, thanks.