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

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