W3C home > Mailing lists > Public > www-style@w3.org > June 2015

Re: [css-variables] Why we can not use 'var()' function for normal property

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Tue, 02 Jun 2015 21:40:40 +0300
To: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <715521433270440@web24g.yandex.ru>
02.06.2015, 21:36, "Boris Zbarsky" <bzbarsky@mit.edu>:
> On 6/2/15 2:29 PM, Marat Tanalin wrote:
>> šIn your example, `a` and `b` are undefined since `c` is not specified.
>
> Er, I meant, of course:
>
> šššša: var(b);
> ššššb: var(c);
> ššššc: var(d);
> ššššd: var(e);
> šššše: color;

Then values of `a`, `b`, `c`, `d` depend on what is `color` (as long as we have nesting-level limit greater than 5).

Evaluation order (as well as a set of involved properties) depends on what property we need at a specific moment.
Received on Tuesday, 2 June 2015 18:41:12 UTC

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