Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow whitespace within var function #27

Closed
colinmeinke opened this issue Jan 9, 2016 · 2 comments
Closed

Allow whitespace within var function #27

colinmeinke opened this issue Jan 9, 2016 · 2 comments

Comments

@colinmeinke
Copy link

Input:

:root { --foo: red; }
.bar { color: var( --foo ); }

Expected output:

.bar { color: red; }

Actual output:

.bar { color: var( --foo ); }
@MadLittleMods
Copy link
Owner

Thanks for the report, just tested in Firefox which allows this. I can't exactly find it in the spec but I am sure it is laid out somewhere down the rabbit hole: https://drafts.csswg.org/css-variables/#syntax

@benwest
Copy link
Contributor

benwest commented Feb 20, 2019

#93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants