W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2001

Re: CheckColor default

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 04 Nov 2001 13:08:12 +0100
To: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Cc: html-tidy@w3.org
Message-ID: <jgaautg3267nbnq1e5qsth3k4rnfqvobrq@4ax.com>
* Klaus Johannes Rusch wrote:
>The latest version of tidy automatically replaces hex color values with the 
>corresponding names. The code looks as if this was supposed to become a 
>configuration option in the future but is currently hardcoded to yes.
>I believe the default should be to not replace colors -- "#000000" is just as
>valid as "black".

No, the behaivour is intended, Tidy should IMO always transform the case
of hex digits and replace those 16 colors with their corresponding color

>The option probably should allow conversions in both directions, i.e.
>        ColorAttributes: symbolic|hexadecimal|asis

I don't see any good reason why one wants Tidy to turn readable color
names to unreadable color codes.
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Sunday, 4 November 2001 07:09:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC