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:36:09 -0400
Message-ID: <556DF799.80803@mit.edu>
To: Marat Tanalin <mtanalin@yandex.ru>, "www-style@w3.org" <www-style@w3.org>
On 6/2/15 2:29 PM, Marat Tanalin wrote:
> 02.06.2015, 21:16, "Boris Zbarsky" <bzbarsky@mit.edu>:
>>     a: var(b);
>>     b: var(c);
>>     d: var(e);
>>     e: color;
>>
>> Does it depend on the nesting depth?  Does it depend on whether a or b is computed "first"?
>
> 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;

-Boris
Received on Tuesday, 2 June 2015 18:36:39 UTC

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