Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359734

Summary: [formatting] CSS formatter inserts space before semicolon
Product: [WebTools] WTP Source Editing Reporter: Victor Homyakov <vkhomyackov>
Component: wst.cssAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.3.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Victor Homyakov CLA 2011-10-03 12:13:49 EDT
CSS formatter inserts space before semicolon if comment is present, as in this example:

h1 {
  font-size: /*15pt*/ 20px;
}

after formatting it will look like:

h1 {
  font-size: /*15pt*/ 20px ;
}

Eclipse: Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 1
Build id: 20110916-0149
Comment 1 Nick Sandonato CLA 2011-11-29 16:53:07 EST
Corrected the formatter and added a unit test for Indigo SR2.