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

Re: CSS Organizer (feedback pleas)

From: David Dorward <david@dorward.me.uk>
Date: Tue, 01 Nov 2005 20:59:33 +0000
To: www-style@w3.org
Message-Id: <1130878773.22027.2.camel@cyberman.dorward.me.uk>

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; }

which your tool changes to

a:hover
{
	color: blue;
}
a:link
{
	color: red;
}
a:visited
{
	color: white;
}

... the a:hover style will now never match any link since a:link or
a:visited will override it.

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

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy
Received on Tuesday, 1 November 2005 20:54:43 GMT

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