Re: [css-variables] Cycling between values with variables

On Mon, May 14, 2012 at 5:15 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> comment comment {
>  var-background: var(background2);
>  var-background2: var(background);
> }

Argh, Luke pointed out that the above is just a dependency cycle,
since they're each referring to the *current* value of the other var,
not the inherited value.

Screw it, I'm adding the var-inherit() function.  It enables several
other cool use-cases anyway.

~TJ

Received on Tuesday, 15 May 2012 00:39:02 UTC