W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Re: CSS Organizer (feedback pleas)

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 03 Nov 2005 00:06:16 +1100
Message-ID: <4368B9C8.8090802@lachy.id.au>
To: David Dorward <david@dorward.me.uk>
CC: www-style@w3.org

David Dorward wrote:
> On Tue, 2005-11-01 at 10:32 -0600, Lonnie Best wrote:
> 
>> and it will alphabetically organize and format the sheet.
> 
> Changing the order of style declarations can alter the way a page is
> rendered, the prime example being:
> 
> a:link { color: red; }
> a:visited { color: white; }
> a:hover { color: blue; }

Oh, it gets worse than that.  It attempts to alphabetise the properties 
within each declaration:

Input:

a:link { color: red; background-color: red; background: green; }
a:hover { color: green; }

Output:

a:hover
{
	color: green;
}
a:link
{
	background: green;
	background-color: red;
	color: red;
}

> I'm afraid that this renders the practical value of the tool as
> practically nil.

Indeed.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Wednesday, 2 November 2005 13:06:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT