compact some CSS styles to their shorthand syntax FS#2509
Added unit tests for CSS shorthand compression FS#2509