W3C home > Mailing lists > Public > www-style@w3.org > June 2015

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

From: BangSeongbeom <bangseongbeom@hotmail.com>
Date: Wed, 13 May 2015 13:37:59 +0000
Message-ID: <SNT147-W66455F4B9682F3959D56EEB0D90@phx.gbl>
To: www-style@w3.org, www-style@w3.org
'var()' function is limited for custom property only.
Custom properties and normal properties should be treated equally.
Like this:
..foo {
    --wall: 100px;
    padding-bottom: 50px;
..foo .bar {
    margin-top: var(--wall);
    padding-top: var(padding-bottom);

And then we will change this function name to 'value()'.
'customcolor' keyword in [css-color] may be deleted.
Received on Tuesday, 2 June 2015 15:39:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC