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

Re: Cascade: Supplement instead of Overwrite

From: Sjoerd Visscher <sjoerd@heeten.nl>
Date: Thu, 7 Oct 1999 18:53:34 +0200
Message-ID: <002a01bf10e4$7e3d55c0$1400000a@beneden>
To: "www-style" <www-style@w3.org>
Sorry about that previous message, I accidentally pressed Ctrl+Enter

> THE SYNTAX:
> 
> There are several ways of extending the current CSS syntax in a manner
> compatible with the forwards-compatible parsing of CSS1 to specify
> that the cascade should be supplemental and not replacing. Here is
> one, which uses syntax similar to the proposal for specifying minimum
> and maximum values:
> 
>    property : values values ! supplement; /* e.g., counter-increment */
>    property : values, values ! supplement; /* e.g., font-family */
> 
> Another is to fiddle with the colon:
> 
>    property +: values values; /* e.g., counter-increment */
>    property +: values, values; /* e.g., font-family */
> 

Is 'old-values()' an option?

like:
property : values old-values();
property : values, old-values();
property : old-values() values;

Q { quotes: "'" "'"; }
Q { quotes: "<<" ">>" old-values() '"' '"'; }

But I don't know about CSS1 compatability.

Sjoerd Visscher
Received on Thursday, 7 October 1999 12:56:22 GMT

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