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

On 6/2/15 2:40 PM, Marat Tanalin wrote:
> 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).

Sure, but what if it's, say, 3?  Does "a" have a value?  Does "c"?  Does 
it depend on whether "a" or "c" is computed first, or whether they're 
computed in parallel?

-Boris

Received on Tuesday, 2 June 2015 18:42:28 UTC