W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: Better Variables through Custom Properties

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 25 Oct 2011 09:11:28 +0200
Message-ID: <4EA66120.8030001@disruptive-innovations.com>
To: www-style@w3.org
Le 25/10/11 08:30, Tab Atkins Jr. a écrit :

> :root {
>    data-indent: 10px;
> }
> ul {
>    data-indent: calc( parent-data(indent) + 10px );
> }

This may trigger endless discussions. This may delay the
basic feature. I suggest keeping this "at risk" while
focusing on the basic thing, making something equivalent to
variables _finally_ happen in CSS as soon as possible.
The above is the topping on the cake, not the cake itself.

Hey, with the proposed syntax, even Bert may like it...

</Daniel>
Received on Tuesday, 25 October 2011 07:11:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT