- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 18 Mar 2014 19:27:12 +0400
- To: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
FWIW, I would like to repeat my recent idea of using `$` as a prefix for declaring a variable and `$()` function to get a variable value. p { $company-color-1: green; background-color: $(company-color-1); } Important part here is that retrieving a variable value is proposed to be done via _functional_ notation `$()` instead of using just prefix for both declaring and retrieving as before. As far as I understand, the main reason of why Tab's original idea of using `$` has eventually been dropped was some uncertainty about its possible extensibility for being used in property _names_ besides property _values_. Using _functional_ notation to retrieve a variable value proposed by me currently rules this issue out completely. (Since there was no any feedback, the idea has probably just been missed by those responsible since it was a final part of a longer message: http://lists.w3.org/Archives/Public/www-style/2014Mar/0335.html )
Received on Tuesday, 18 March 2014 15:27:46 UTC