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: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 02 Jun 2015 14:41:58 -0400
Message-ID: <556DF8F6.9010007@mit.edu>
To: Marat Tanalin <mtanalin@yandex.ru>, "www-style@w3.org" <www-style@w3.org>
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

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