<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CSS Minification; Part 72; Alphabetizing</title>
	<atom:link href="http://ajaxian.com/archives/css-minification-part-72-alphabetizing/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: simon000666</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275328</link>
		<dc:creator>simon000666</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275328</guid>
		<description>I&#039;ve also been alphabetizing properties for readability for a while, at first it feels counter-intuitive to have for example height before width, but then after a while it becomes natural - and firebug does it automatically too.

@ywg is right though, the order can be sensitive to the style so it could break layout if you made it an automated process - best to have some kind of pre-commit hook that rejects if it see&#039;s properties out of order...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve also been alphabetizing properties for readability for a while, at first it feels counter-intuitive to have for example height before width, but then after a while it becomes natural &#8211; and firebug does it automatically too.</p>
<p>@ywg is right though, the order can be sensitive to the style so it could break layout if you made it an automated process &#8211; best to have some kind of pre-commit hook that rejects if it see&#8217;s properties out of order&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ywg</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275327</link>
		<dc:creator>ywg</dc:creator>
		<pubDate>Wed, 02 Sep 2009 07:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275327</guid>
		<description>Well &quot;alphabetizing&quot; does not improve compression. Ordering can help optimizing LZ77, but alphabetical order is not always the better choice.

Besides :

private void sortProperties(Property[] properties) {
	Arrays.sort(properties);
}

CSS rules and instructions are order sensitive. Your implementation can break some stylesheets.

ex :
line-height: 18px;
font: 12px/16px sans-serif;

will be re-ordered to:
font: 12px/16px sans-serif;
line-height: 18px;</description>
		<content:encoded><![CDATA[<p>Well &#8220;alphabetizing&#8221; does not improve compression. Ordering can help optimizing LZ77, but alphabetical order is not always the better choice.</p>
<p>Besides :</p>
<p>private void sortProperties(Property[] properties) {<br />
	Arrays.sort(properties);<br />
}</p>
<p>CSS rules and instructions are order sensitive. Your implementation can break some stylesheets.</p>
<p>ex :<br />
line-height: 18px;<br />
font: 12px/16px sans-serif;</p>
<p>will be re-ordered to:<br />
font: 12px/16px sans-serif;<br />
line-height: 18px;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darkimmortal</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275319</link>
		<dc:creator>Darkimmortal</dc:creator>
		<pubDate>Tue, 01 Sep 2009 20:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275319</guid>
		<description>This site desperately needs a fluid width centre column.

Actually, you don&#039;t need anything but the centre column.</description>
		<content:encoded><![CDATA[<p>This site desperately needs a fluid width centre column.</p>
<p>Actually, you don&#8217;t need anything but the centre column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blepore</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275310</link>
		<dc:creator>blepore</dc:creator>
		<pubDate>Tue, 01 Sep 2009 14:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275310</guid>
		<description>Does the alphabetizing thing really help if you follow Google&#039;s recommendation to use CSS rules only once? Sure, there are some rules like padding where you may have different values for the property, but it seems a bit negligible.</description>
		<content:encoded><![CDATA[<p>Does the alphabetizing thing really help if you follow Google&#8217;s recommendation to use CSS rules only once? Sure, there are some rules like padding where you may have different values for the property, but it seems a bit negligible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WillPeavy</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275308</link>
		<dc:creator>WillPeavy</dc:creator>
		<pubDate>Tue, 01 Sep 2009 13:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275308</guid>
		<description>Cool. I&#039;ve been alphabetizing properties for a while now, for readability. Good to see this inadvertently offers a performance benefit too!</description>
		<content:encoded><![CDATA[<p>Cool. I&#8217;ve been alphabetizing properties for a while now, for readability. Good to see this inadvertently offers a performance benefit too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sixtyseconds</title>
		<link>http://ajaxian.com/archives/css-minification-part-72-alphabetizing/comment-page-1#comment-275305</link>
		<dc:creator>sixtyseconds</dc:creator>
		<pubDate>Tue, 01 Sep 2009 11:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7308#comment-275305</guid>
		<description>Please reduce image sizes. It&#039;s not rocket science.</description>
		<content:encoded><![CDATA[<p>Please reduce image sizes. It&#8217;s not rocket science.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

