WeBuilder 2011 Beta3: CSS Compression and trailing ;

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
mapleleaf
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada
Contact:

WeBuilder 2011 Beta3: CSS Compression and trailing ;

Post by mapleleaf »

Let us briefly revisited the following posting

http://forums.blumentals.net/viewtopic.php?f=25&t=4910

In that posting, I had pointed out an issue regarding compression particularly the terminating ;

This was corrected thus saving needless and useless waste of bytes in one's html code.

I post his today which I didn't at that time think about or even tried, it had escaped me totally as I was optimizing my web site.

CSS compression is a good technique and this should be one of the last steps prior to publishing the web site online.

Yet, there will be a time that one needs to work on/with the CSS file performing a change; again I failed to save a copy of the CSS file (uncompressed) thus I had to format the minified CSS.

'lo and behold' formatting a minified CSS file will result in a terminating ; to be installed when in fact it isn't necessary to have it.

(ie)

compressed
.logo{position:relative;padding:0;margin-bottom:5px;height:69px}

was formatted to
.logo{
position: relative;
padding: 0;
margin-bottom: 5px;
height: 69px;
}

this shouldn't be the case; the terminating ; should not be present when formatting a minified CSS file.

any comments?
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Update: 2011 v11.2.0.122 Beta3 (limited access)

Post by Gatis »

Hi mapleleaf,

Thanks for informing about the CSS formatter issue.
As it seems, the latest version for formatter was not included in the release, we will do this with next update.

Gatis
Kind regards,
Gatis Avots
User avatar
mapleleaf
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada
Contact:

Re: Update: 2011 v11.2.0.122 Beta3 (limited access)

Post by mapleleaf »

Gatis wrote:Hi mapleleaf,

Thanks for informing about the CSS formatter issue.
As it seems, the latest version for formatter was not included in the release, we will do this with next update.

Gatis

release??
Last edited by chrisjlocke on Wed Jun 01, 2011 12:22 pm, edited 1 time in total.
Reason: Enabled BBCode for quoting to work
User avatar
mapleleaf
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada
Contact:

Re: Update: 2011 v11.2.0.122 Beta3 (limited access)

Post by mapleleaf »

compression in WBß still retains the terminal ;
(ie)

.blog1 span,.blog2 span,.blog3 span{color:#adeaff;margin-left:5px;}
Post Reply