- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 02 Jun 2015 19:27:58 +0300
- To: Tab Atkins Jr. <jackalmage@gmail.com>, BangSeongbeom <bangseongbeom@hotmail.com>
- Cc: www-style list <www-style@w3.org>
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