- From: William Perry <wmperry@spry.com>
- Date: Mon, 18 Sep 95 06:13 PDT
- To: Bert Bos <bert@let.rug.nl>
- Cc: www-style@w3.org
Bert Bos writes: > Steve Grimm writes: > > |The nit: The text-background attribute has an ambiguous value type. > | > |<style> > | body: text-background="bluegreen" > |</style> > | > |There's no way for a parser to know if "bluegreen" is a relative URL or a > |color name. Perhaps there should be two attributes for background, with a > |defined order of precedence between them. > > The intention is that color names are entered as keywords without > quotes. The reasoning behind this is, that, presumably, the number of > color names is small, so they can be entered in the parser's hash table. That seems a particularly poor way to differentiate between the two. If a user wants 'readability' they might very well choose to write everything like: body: text-background="red" text-foreground="white" font-style="demi-bold" Ideally, this should `just work right' from the users perspective. -Bill P.
Received on Monday, 18 September 1995 09:12:36 UTC