Re: CSS Organizer (feedback pleas)

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 UTC