Ticket #2060448 (checkedin enhancement)
Reportersfbugs |
Opened: 08/19/08 Last modified: 02/2/10 Status: checkedin Type: enhancement Resolution: fixed |
Owner Isaac Z. Schlueter |
Target Release: 2.4.3 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Remove ;} in CSS | ||
| Description: | It appears that YUI compressor for css usually creates this type of code: .test{color:#444;} While that is fine, it's even better to remove the semicolon and write this: .test{color:#444} The result is equally valid but can reduce the filesize quite a bit in larger CSS files. Currently I have to perform this step with a text editor, and I would very much like to see this built in to YUI compressor. Thanks, |
||
| Type: | enhancement | Observed in Version: | 2.4.2 |
| Component: | YUICompressor | Severity: | S3 (normal) |
| Assigned To: | Isaac Z. Schlueter | Target Release: | 2.4.3 |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 08/25/08
|
|
Posted: 01/7/09
This ticket was imported from Source Forge. Orginially submitted by: stevendegroote |
|
Posted: 04/30/09
|
|
Posted: 06/17/09
If you happen to have sed around, the following command can be used in a batch/shell script to strip such semicolons (although it would of course be better for YUICompressor to do it): |
|
Posted: 09/23/09
|
|
Posted: 09/24/09
|
|
Posted: 02/2/10
|
|
Posted: 02/2/10
|


George
Forwarding to component owner for consideration.