- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Jun 2017 03:58:50 +0000
- To: public-css-archive@w3.org
How would this affect declarations of the form:
```css
:root { --my-var: ; }
.class { --my-var: }
```
…which currently is a valid CSS var consisting of a single whitespace token? Is it fine so long as the `;` is there, but not in the second case?
The ability to create empty vars is useful when you are adding a variable to a list property:
```css
background-image: var(--element-bg), linear-gradient(black, gray);
transform: var(--base-transform) rotate(45deg);
```
--
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/774#issuecomment-309956359 using your GitHub account
Received on Wednesday, 21 June 2017 03:58:56 UTC