You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.
What steps will reproduce the problem?
1. Create a input.css file:
---------------
#first, #second, #third {
width: 100px;
height: 100px;
color: #ff0000;
background-color: #00ff00;
}
#second {
width: 105px;
}
---------------
2. Run: java -jar closure-stylesheets.jar --output-file output.css input.css
What is the expected output? What do you see instead?
Expected (and YUI Compressor achieves this), 100 bytes:
---------------
#first,#second,#third{width:100px;height:100px;color:#f00;background-color:#0f0}#second{width:105px}
---------------
With Closure I get a 204 byte file instead (original was 138!):
---------------
#first{width:100px;height:100px;color:#f00;background-color:#0f0}#second{height:100px;color:#f00;background-color:#0f0}#third{width:100px;height:100px;color:#f00;background-color:#0f0}#second{width:105px}
---------------
What version of the product are you using? On what operating system?
I'm using the initial release, SHA1 5d8092ec7287f8b05b41ff71f52ff2dc0576f414
Windows 7 64bit SP1
Please provide any additional information below.
This sucks big time.
Reported by xxStrom on 2011-11-15 02:44:40
The text was updated successfully, but these errors were encountered:
When gzipped (you are gzipping right?) the size for both the yahoo and google compressed
files is the same: 99B
Does NOT suck big time. I assume google is targeting the best minification for gzipped
files (as they do with the closure js library)
Reported by alvaro@gravitydev.com on 2012-02-04 03:41:05
Originally reported on Google Code with ID 2
Reported by
xxStrom
on 2011-11-15 02:44:40The text was updated successfully, but these errors were encountered: