W3C home > Mailing lists > Public > www-style@w3.org > October 1996

Re: CSS and system colors

From: Chris Josephs <cpj1@visi.com>
Date: Tue, 8 Oct 1996 07:39:20 -0500 (CDT)
To: Hakon Lie <howcome@w3.org>
cc: "Galarneau, Neil" <ngalarneau@concord6.powersoft.com>, "'www-style'" <www-style@w3.org>
Message-ID: <Pine.GSO.3.95.961008073042.21918B-100000@mixer.visi.com>
On Tue, 8 Oct 1996, Hakon Lie wrote:
> This is a good idea. It should probably be doine through reserved
> names, perhaps 'system-color' and system-background' ? The latter name
> would be open for system backgrounds that are more than just a color.

What about the idea of being able to "retrieve" a value.  Dare I say use
something along the lines of a function with a return value.  (I know, I
know, CSS will not become a programming language).

Maybe something like @default("body {color}")

You could then set body {color:@default("body {color}");}

The syntax looks a little ugly I'll admit.  But you could also use it to
get info on the point size of a font, decoration mode, etc, etc.

The bad thing is something like this could eventually lead to if/then

The good thing is that it could explicitly say "don't mess with the
default values for this tag".

> I'll put it on the list of good ideas for the next round.
> Regards,
> -h&kon
> H      k   o   n      W   i   u   m       L   i   e
> howcome@w3.org   W o r l d   Wide  W e b  Consortium
> inria # FRANCE http://www.w3.org/people/howcome

--- Christopher Josephes -------------------------
mailto:cpj1@visi.com               Vector Internet
Received on Tuesday, 8 October 1996 08:39:29 UTC

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