W3C home > Mailing lists > Public > www-style@w3.org > September 1995

Re: A nit and an addition for the current draft

From: William Perry <wmperry@spry.com>
Date: Mon, 18 Sep 95 06:13 PDT
Message-Id: <m0sug0x-00005nC@monolith>
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 GMT

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