- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 02 Jun 2015 21:29:49 +0300
- To: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
02.06.2015, 21:16, "Boris Zbarsky" <bzbarsky@mit.edu>: > On 6/2/15 2:14 PM, Marat Tanalin wrote: >> a: var(b); >> b: var(a); >> >> If we need to get the value of the `a` property, then we should then access `b` property referenced with `var(b)`. So we have "a, b" order. >> >> If we need to get the value of the `b` property, then we should then access `a` property referenced with `var(a)`. So we have "b, a" order. > > OK, what happens with: > > 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. `d` value is `color` (value of `e` referenced with `var(e)` as `d` value), and its final value depends on what is `color`.
Received on Tuesday, 2 June 2015 18:30:22 UTC