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

02.06.2015, 19:19, "Tab Atkins Jr." <jackalmage@gmail.com>:
> On Wed, May 13, 2015 at 6:37 AM, BangSeongbeom <bangseongbeom@hotmail.com> wrote:
>> š'var()' function is limited for custom property only.
>> šCustom properties and normal properties should be treated equally.
>
> Because of cycles.

Instead of fearing cycles at all, we could just limit nesting/recursion level for `var()`, so that once some reasonable limit (e.g. 10) is achieved, applying styles referenced by corresponding nested `var()` calls is just stopped.

Received on Tuesday, 2 June 2015 16:28:31 UTC