W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

[csswg-drafts] [css-variables] Whether to support override a property using itself

From: HelloYou via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Jan 2017 06:44:26 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-199744928-1484030665-sysbot+gh@w3.org>
helloyou2012 has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-variables] Whether to support override a property using itself
 ==
I want to override property like this

```
:root {
  --main-color: #333;
  --main-color: var(--main-color, #666);
}
h1 {
  color: var(--main-color);
}
```

and expect

```
h1 {
  color: #333;
}
```

Does support ?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/876 using your GitHub 
account
Received on Tuesday, 10 January 2017 06:44:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC