- From: Roger Harris <rh@nationalfinder.com>
- Date: Wed, 18 Apr 2001 00:39:18 +0100
- To: "'www-html@w3.org'" <www-html@w3.org>
Wednesday 18th April 2001 Adnan Baradi has possibly fallen into a simple trap and I wonder if he has fully tested his scheme using bogus data. I would also respectfully ask him whether he is fully conversant with hexadecimal numbers. The two leading browsers, Netscape and Explorer, and possibly Opera too although I have not tested it, will attempt to interpret the string 'COLOR="#xxxxxx" regardless of how many characters are in the string or whether they are legal. I recall that a null string, is also parsed. The browsers do not appear to report an error or crash if they encounter an illegal colour string. There does not appear to be any initialisation of the memory locations in which the RGB colour integers are stored and illegal strings simply generate random colours. You can find a little more about this on my web-site at http://www.nationalfinder.com/html/colrbugs.htm where I give examples of colours derived from words about bicycles, fruit and vegetables. Kind regards, Roger Harris.
Received on Tuesday, 17 April 2001 19:39:14 UTC