1

Closed

Error in WebGrease Semantic CSS Minifier

description

When working with the WebGrease Semantic CSS Minifier, I discovered that it incorrectly treat the decimal values.

Give an example of the source code:

h1 {
font-size: 2em;
}

h2 {
font-size: 1.75em;
}

.ui-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
}

.ui-button-text-only .ui-button-text {
padding: .4em 1em;
}

Code, after processing by the WebGrease Semantic CSS Minifier:

h1 {
font-size: 2em
}

h2 {
font-size: 0
}

.ui-resizable-handle {
position: absolute;
font-size: 0;
display: block
}

.ui-button-text-only .ui-button-text {
padding: .4em 1em
}
Closed Jan 29, 2013 at 1:00 AM by raspranav
http://webgrease.codeplex.com/workitem/7 is tracking this issue on the webgrease codeplex site

comments

Eugene_Ch wrote Sep 18, 2012 at 7:34 AM

Hello,

This issue is fixed and will be released with the upcoming version of WebGrease. Thank you very much for reporting it!

-Eugene

Taritsyn wrote Sep 18, 2012 at 8:12 AM

OK, thanks.

Taritsyn wrote Sep 6, 2013 at 7:34 PM

Please reopen this bug.

This bug is still present in WebGrease version 1.5.2.