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

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:38 UTC