W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css-variables] and shortcut properties, fundamental limitation?

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sun, 24 Feb 2013 08:30:50 +0100
Message-ID: <5129C1AA.2050904@kozea.fr>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: "www-style@w3.org" <www-style@w3.org>
Le 24/02/2013 03:27, Andrew Fedoniouk a écrit :
> Is all this correct in your opinion and how it
> should work?
> Personally I would expect that this
> div {
>       background: #333;
>       background: var(invalidvar);
> }
> will end up with background color set to #333.

I agree with you and I think that the fallback behavior should be 
preserved, which is why I started another thread about this with the 
right terminology:


If you read there, my suggestion requires the cascade to keep around not 
one but a list of specified values for each (element, property) pair; 
which had already been rejected by implementation. But Tab maintains 
that we can get a similar behavior by adding typing information to 

Simon Sapin
Received on Sunday, 24 February 2013 07:31:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC