W3C home > Mailing lists > Public > www-style@w3.org > July 2008

[css3-color] currentColor parsing issues

From: (wrong string) Ůski <1981km@gmail.com>
Date: Wed, 23 Jul 2008 17:49:00 +0000
Message-ID: <D5B3031457324736ABDB35E5455F024D@kmPC>
To: <www-style@w3.org>




> If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.
I see 3 issues with it:
1. It's an imprecise statement. Replacing the string 'currentColor' with 'color:inherit' would result in parse error.
2. 'color:inherit' has no space, which is syntactically valid, but rather not recommendable.
3. The purpose of the addition "at parse time" is unclear to me. Does it mean that 'color:inherit' gets into CSSOM, for example? Is the intent to make currentColor and inherit on color indistinguishable for any CSS technology (but of course not to XML or HTML DOM, as parsing of those occurs (at least conceptually) before CSS parsing)? If so, why?
Received on Friday, 25 July 2008 16:55:00 GMT

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